fix: await retry (#2739)
This commit is contained in:
+1
-1
@@ -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] = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user