Fix delayed sessions issue for good
This commit is contained in:
parent
ba862343b4
commit
1c79a2d47e
@ -132,9 +132,10 @@ class ServerManager(util.LoggedClass):
|
||||
now = time.time()
|
||||
keep = []
|
||||
for pair in self.delayed_sessions:
|
||||
timeout, (priority, queue_id, session) = pair
|
||||
timeout, item = pair
|
||||
priority, queue_id, session = item
|
||||
if not session.pause and timeout <= now:
|
||||
self.queue.put_nowait(session)
|
||||
self.queue.put_nowait(item)
|
||||
else:
|
||||
keep.append(pair)
|
||||
self.delayed_sessions = keep
|
||||
|
||||
@ -1 +1 @@
|
||||
VERSION = "ElectrumX 0.9.5"
|
||||
VERSION = "ElectrumX 0.9.6"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user