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:
Eric Callahan committed 2025-06-27 14:00:37 -04:00
1 parent bfdf2a91ef
commit 826f0e3ea3
1 file changed
+1 -1
+1 -1
View File
@@ -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()