Commit 8bbae06a authored by Antoine Millet's avatar Antoine Millet

Removed use of uuid1 (leak open fd).

parent 9cfa4e80
......@@ -12,7 +12,7 @@ import struct
import socket
import logging
import threading
from uuid import uuid1
from uuid import uuid4
from Queue import Queue
from sjrpc.utils import BytesBuffer
......@@ -186,7 +186,7 @@ class RpcConnection(object):
msg['method'] = method_name
msg['args'] = args
msg['kwargs'] = kwargs
msg['id'] = str(uuid1())
msg['id'] = str(uuid4())
self._send(msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment