spoolman: fix ping timeout
Tornado client websockets treat the ping timeout differently from server websockets. The ping timeout should be less than the ping interval. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
1 file changed
+1
-1
@@ -133,7 +133,7 @@ class SpoolManager:
|
||||
self.ws_url,
|
||||
connect_timeout=5.,
|
||||
ping_interval=20.,
|
||||
ping_timeout=60.
|
||||
ping_timeout=15.
|
||||
)
|
||||
setattr(self.spoolman_ws, "on_ping", self._on_ws_ping)
|
||||
cur_time = self.eventloop.get_loop_time()
|
||||
|
||||
Reference in new issue
Block a user