From 16dabd7575db1a9badca7fd295b59d7abb8e0e26 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 22 Dec 2017 18:11:42 +0100 Subject: [PATCH] Pass n_tries to Request.execute --- platypush/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/__init__.py b/platypush/__init__.py index 1b97dda1..5950b6b0 100644 --- a/platypush/__init__.py +++ b/platypush/__init__.py @@ -72,7 +72,7 @@ class Daemon(object): if isinstance(msg, Request): logging.info('Processing request: {}'.format(msg)) - msg.execute() + msg.execute(n_tries=self.n_tries) self.processed_requests += 1 if self.requests_to_process \