From eeda027cea99247a399d7f2bb64e336da2edb427 Mon Sep 17 00:00:00 2001 From: Vanshdeep Singh Date: Tue, 31 Jul 2018 16:37:43 +0200 Subject: [PATCH] Problem: Timeout value for queue read too small Solution: Increase timeout --- bigchaindb/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigchaindb/events.py b/bigchaindb/events.py index e60fe44f..e11037cb 100644 --- a/bigchaindb/events.py +++ b/bigchaindb/events.py @@ -67,7 +67,7 @@ class Exchange: """ try: - self.started_queue.get(timeout=0.01) + self.started_queue.get(timeout=1) raise RuntimeError('Cannot create a new subscriber queue while Exchange is running.') except Empty: pass