Wait after exceptions to slow down retries
This commit is contained in:
parent
e598684837
commit
6c391dc9bb
@ -218,6 +218,7 @@ class Dect:
|
||||
pass
|
||||
self.c = None
|
||||
|
||||
time.sleep(2)
|
||||
logger.info("requeue failed task")
|
||||
self.fp.queues["dect"].put(msg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user