Pass n_tries to Request.execute
This commit is contained in:
parent
f04d0bd24f
commit
16dabd7575
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class Daemon(object):
|
||||||
|
|
||||||
if isinstance(msg, Request):
|
if isinstance(msg, Request):
|
||||||
logging.info('Processing request: {}'.format(msg))
|
logging.info('Processing request: {}'.format(msg))
|
||||||
msg.execute()
|
msg.execute(n_tries=self.n_tries)
|
||||||
|
|
||||||
self.processed_requests += 1
|
self.processed_requests += 1
|
||||||
if self.requests_to_process \
|
if self.requests_to_process \
|
||||||
|
|
Loading…
Reference in a new issue