From f79de2e7083c2f852eaa24ad174a94dc2d35c912 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 25 Sep 2018 00:31:51 +0200 Subject: [PATCH] Reverted bus post logic for HTTP backend --- platypush/backend/http/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/http/__init__.py b/platypush/backend/http/__init__.py index 16b46b9b7..1e8bc31c0 100644 --- a/platypush/backend/http/__init__.py +++ b/platypush/backend/http/__init__.py @@ -238,7 +238,7 @@ class HttpBackend(Backend): msg.origin = 'http' redis = self._get_redis() - self.on_message(msg) + self.bus.post(msg) if isinstance(msg, Request): response = redis.blpop(get_redis_queue_name_by_message(msg), timeout=60)