Skip to content

Commit

Permalink
poll uses milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Oct 25, 2024
1 parent d0f9495 commit 36ee6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipyparallel/engine/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ async def register(self):
# wait for reply
poller = zmq.asyncio.Poller()
poller.register(reg, zmq.POLLIN)
events = dict(await poller.poll(timeout=self.timeout))
events = dict(await poller.poll(timeout=int(self.timeout * 1_000)))
if events:
msg = reg.recv_multipart()
try:
Expand Down

0 comments on commit 36ee6a8

Please sign in to comment.