Show More
@@ -573,7 +573,8 b' class HBSocketChannel(ZmqSocketChannel):' | |||||
573 | # list, poll is working correctly even if it |
|
573 | # list, poll is working correctly even if it | |
574 | # returns quickly. Note: poll timeout is in |
|
574 | # returns quickly. Note: poll timeout is in | |
575 | # milliseconds. |
|
575 | # milliseconds. | |
576 |
|
|
576 | if until_dead > 0.0: | |
|
577 | self.poller.poll(1000 * until_dead) | |||
577 |
|
578 | |||
578 | since_last_heartbeat = time.time()-request_time |
|
579 | since_last_heartbeat = time.time()-request_time | |
579 | if since_last_heartbeat > self.time_to_dead: |
|
580 | if since_last_heartbeat > self.time_to_dead: |
General Comments 0
You need to be logged in to leave comments.
Login now