From ba862343b40557ce7346897a4126ed268b0904b5 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 14 Dec 2016 00:07:26 +0900 Subject: [PATCH] Fix issue for paused connections Prepare 0.9.5 --- RELEASE-NOTES | 5 +++++ server/protocol.py | 2 +- server/version.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ad0b5af..ec30684 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,3 +1,8 @@ +version 0.9.5 +------------- + +- fix issue introduced in 0.9.4 with paused connections + version 0.9.4 ------------- diff --git a/server/protocol.py b/server/protocol.py index 3f0f51c..9cf0cb0 100644 --- a/server/protocol.py +++ b/server/protocol.py @@ -132,7 +132,7 @@ class ServerManager(util.LoggedClass): now = time.time() keep = [] for pair in self.delayed_sessions: - timeout, session = pair + timeout, (priority, queue_id, session) = pair if not session.pause and timeout <= now: self.queue.put_nowait(session) else: diff --git a/server/version.py b/server/version.py index bff806e..ee71a25 100644 --- a/server/version.py +++ b/server/version.py @@ -1 +1 @@ -VERSION = "ElectrumX 0.9.4" +VERSION = "ElectrumX 0.9.5"