Skip to content

Commit 5c6ea8d

Browse files
committed
Increase server-side timeout to 10 seconds
1 parent bb132c2 commit 5c6ea8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jupyter_resource_usage/api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ async def get(self, matched_part=None, *args, **kwargs):
115115
poller = zmq.asyncio.Poller()
116116
control_socket = control_channel.socket
117117
poller.register(control_socket, zmq.POLLIN)
118-
# previous behavior was 3 retries: 1 + 2 + 3 = 6 seconds
119-
timeout_ms = 6_000
118+
timeout_ms = 10_000
120119
events = dict(await poller.poll(timeout_ms))
121120
if control_socket not in events:
122121
self.write(json.dumps({

0 commit comments

Comments
 (0)