mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
Fix #2038 : Chrome 17 disconnecting from webui
This commit is contained in:
parent
be5a0b3dc5
commit
f1ddd236ce
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ class EventQueue(object):
|
||||||
else:
|
else:
|
||||||
# Prevent this loop going on indefinitely incase a client leaves
|
# Prevent this loop going on indefinitely incase a client leaves
|
||||||
# the page or disconnects uncleanly.
|
# the page or disconnects uncleanly.
|
||||||
if count >= 3000:
|
if count >= 50:
|
||||||
d.callback(None)
|
d.callback(None)
|
||||||
else:
|
else:
|
||||||
reactor.callLater(0.1, self._get_events, listener_id, count + 1, d)
|
reactor.callLater(0.1, self._get_events, listener_id, count + 1, d)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue