forked from platypush/platypush
Increased response queue read timeout to 60 seconds
This commit is contained in:
parent
44962dd919
commit
badb739a8c
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class HttpBackend(Backend):
|
|||
self.bus.post(msg)
|
||||
|
||||
if isinstance(msg, Request):
|
||||
response = redis.blpop(get_redis_queue_name_by_message(msg), timeout=10)
|
||||
response = redis.blpop(get_redis_queue_name_by_message(msg), timeout=60)
|
||||
if response and response[1]:
|
||||
response = Message.build(json.loads(response[1].decode('utf-8')))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue