Fix #2038 : Chrome 17 disconnecting from webui
This commit is contained in:
parent
be5a0b3dc5
commit
f1ddd236ce
|
@ -397,7 +397,7 @@ class EventQueue(object):
|
|||
else:
|
||||
# Prevent this loop going on indefinitely incase a client leaves
|
||||
# the page or disconnects uncleanly.
|
||||
if count >= 3000:
|
||||
if count >= 50:
|
||||
d.callback(None)
|
||||
else:
|
||||
reactor.callLater(0.1, self._get_events, listener_id, count + 1, d)
|
||||
|
|
Loading…
Reference in New Issue