Reverted bus post logic for HTTP backend

This commit is contained in:
Fabio Manganiello 2018-09-25 00:31:51 +02:00
parent 88d2fbd366
commit f79de2e708

View file

@ -238,7 +238,7 @@ class HttpBackend(Backend):
msg.origin = 'http' msg.origin = 'http'
redis = self._get_redis() redis = self._get_redis()
self.on_message(msg) self.bus.post(msg)
if isinstance(msg, Request): if isinstance(msg, Request):
response = redis.blpop(get_redis_queue_name_by_message(msg), timeout=60) response = redis.blpop(get_redis_queue_name_by_message(msg), timeout=60)