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

Now use a standard pyev loop instead of the default loop by default in RpcConnection and RpcServer

parent 0bdd91bb
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ class RpcConnection(object):
# Get the pyev loop:
if loop is None:
self.loop = pyev.default_loop()
self.loop = pyev.Loop()
else:
self.loop = loop
......
......@@ -26,7 +26,7 @@ class RpcServer(object):
self._clients = set()
self.logger = logging.getLogger('sjrpc')
if loop is None:
self.loop = pyev.default_loop()
self.loop = pyev.Loop()
else:
self.loop = loop
self._conn_args = conn_args
......
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