Hi,
I am using an rsync threaded server
ThreadedServer(SlaveService, hostname=self.host, port=self.port,
reuse_addr=True
on a remote machine to run a process via subprocess Popen. The outline of
the client code is here:
with rmodules.subprocess.Popen(cmd, **opts) as self._proc:
rmodules.sys.stdout.flush()
for line in self._proc.stdout:
self._output(line.encode())
if self._proc.returncode == 0:
error = ()
else:
error = (self._proc.returncode)
return error
When I run the server on certain machines, I get the following exception on
the client:
raise AsyncResultTimeout("result expired")
TimeoutError: result expired
This is a long running process that should generate constant output via its
stdout.
Is there a way to remedy the situation? Is there a way to prevent the
result from expiring?
Thanks.
-Brad
--
---
You received this message because you are subscribed to the Google Groups
"rpyc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.