Fix #2038 : Chrome 17 disconnecting from webui

This commit is contained in:
Calum Lind 2012-02-27 13:37:12 +00:00
parent be5a0b3dc5
commit f1ddd236ce
1 changed files with 1 additions and 1 deletions

View File

@ -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)