Increase maximum IOLoop poll timeout.
I believe the previous 0.2s limit was there to work around an old bug in the add_callback waker that has since been fixed.
This commit is contained in:
parent
ad63265338
commit
494ae50ad3
|
@ -241,8 +241,7 @@ class IOLoop(object):
|
||||||
self._thread_ident = thread.get_ident()
|
self._thread_ident = thread.get_ident()
|
||||||
self._running = True
|
self._running = True
|
||||||
while True:
|
while True:
|
||||||
# Never use an infinite timeout here - it can stall epoll
|
poll_timeout = 3600.0
|
||||||
poll_timeout = 0.2
|
|
||||||
|
|
||||||
# Prevent IO event starvation by delaying new callbacks
|
# Prevent IO event starvation by delaying new callbacks
|
||||||
# to the next iteration of the event loop.
|
# to the next iteration of the event loop.
|
||||||
|
|
Loading…
Reference in New Issue