Increased response queue read timeout to 60 seconds

This commit is contained in:
Fabio Manganiello 2018-09-20 13:13:36 +00:00
parent 44962dd919
commit badb739a8c
1 changed files with 1 additions and 1 deletions

View File

@ -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: