mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Timeout value for queue read too small
Solution: Increase timeout
This commit is contained in:
parent
5ecd8fb57c
commit
eeda027cea
@ -67,7 +67,7 @@ class Exchange:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
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.')
|
raise RuntimeError('Cannot create a new subscriber queue while Exchange is running.')
|
||||||
except Empty:
|
except Empty:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user