Commit af780912 authored by Benjamin Fischer's avatar Benjamin Fischer

workspace: fixed timeout config for sync. RPyC requests (completely)

parent 097323ef
......@@ -640,7 +640,10 @@ class Connection(object):
logger.info("connect rpyc")
channel = rpyc.Channel(self._connection.stream(), False)
service = LoggingService() if rpyc_version[0] >= 4 else LoggingService
self.__rpyc = rpyc.Connection(service, channel, {"allow_public_attrs": True})
self.__rpyc = rpyc.Connection(service, channel, {
"allow_public_attrs": True,
"sync_request_timeout": 300,
})
logger.info("connected rpyc")
self._connection.print_stderr()
......
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