Loading sjrpc/core/protocols/rpc.py +1 −2 Original line number Diff line number Diff line Loading @@ -28,11 +28,10 @@ class RpcProtocol(Protocol): SPECIAL_MESSAGE = {'special': None} def __init__(self, connection, label, handler=None, on_disconnect=None, request_decorator=None, timeout=30, *args, **kwargs): timeout=30, *args, **kwargs): super(RpcProtocol, self).__init__(connection, label, *args, **kwargs) self._handler = handler self._on_disconnect = on_disconnect self.request_decorator = request_decorator self._call_timeout = timeout # Store all calls sent to the peer. Key is the id of the call and value Loading Loading
sjrpc/core/protocols/rpc.py +1 −2 Original line number Diff line number Diff line Loading @@ -28,11 +28,10 @@ class RpcProtocol(Protocol): SPECIAL_MESSAGE = {'special': None} def __init__(self, connection, label, handler=None, on_disconnect=None, request_decorator=None, timeout=30, *args, **kwargs): timeout=30, *args, **kwargs): super(RpcProtocol, self).__init__(connection, label, *args, **kwargs) self._handler = handler self._on_disconnect = on_disconnect self.request_decorator = request_decorator self._call_timeout = timeout # Store all calls sent to the peer. Key is the id of the call and value Loading