mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-05 08:03:40 +00:00
Fix #2038 : Chrome 17 disconnecting from webui
This commit is contained in:
parent
dd3aab1cef
commit
8db789ffe2
@ -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…
x
Reference in New Issue
Block a user