From f04d0bd24f60524448c91fee6ec45cfc14fff611 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 22 Dec 2017 18:09:11 +0100 Subject: [PATCH] Don't send responses in case of errors within the retry mechanism --- platypush/message/request/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/message/request/__init__.py b/platypush/message/request/__init__.py index 514f27757..07850aa40 100644 --- a/platypush/message/request/__init__.py +++ b/platypush/message/request/__init__.py @@ -77,6 +77,7 @@ class Request(Message): get_or_load_plugin(module_name, reload=True) n_tries -= 1 _thread_func() + return finally: # Send the response on the backend if self.backend and self.origin: