Skip to content
Snippets Groups Projects
Commit 8bbae06a authored by Antoine Millet's avatar Antoine Millet
Browse files

Removed use of uuid1 (leak open fd).

parent 9cfa4e80
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment