fix: await retry (#2739)
This commit is contained in:
parent
80ec9e1307
commit
13f2dd732f
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ async def catch_everything_and_restart(
|
||||||
logger.error(traceback.format_exc())
|
logger.error(traceback.format_exc())
|
||||||
logger.error("will restart the task in 5 seconds.")
|
logger.error("will restart the task in 5 seconds.")
|
||||||
await asyncio.sleep(5)
|
await asyncio.sleep(5)
|
||||||
return catch_everything_and_restart(func, name)
|
return await catch_everything_and_restart(func, name)
|
||||||
|
|
||||||
|
|
||||||
invoice_listeners: Dict[str, asyncio.Queue] = {}
|
invoice_listeners: Dict[str, asyncio.Queue] = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue