Commit fe383693 authored by Denis Bilenko's avatar Denis Bilenko

greenlet.py: reduce dispatch() retry number to 15

parent 02082c9e
......@@ -130,7 +130,7 @@ class Hub(object):
result = core.dispatch()
except IOError, ex:
loop_count += 1
if loop_count > 100:
if loop_count > 15:
raise
sys.stderr.write('Restarting gevent.core.dispatch() after an error [%s]: %s\n' % (loop_count, ex))
continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment