mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 01:43:42 +01:00
fix: await retry (#2739)
This commit is contained in:
parent
d8d898b20b
commit
af863b8c8f
@ -85,7 +85,7 @@ async def catch_everything_and_restart(
|
||||
logger.error(traceback.format_exc())
|
||||
logger.error("will restart the task in 5 seconds.")
|
||||
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] = {}
|
||||
|
Loading…
Reference in New Issue
Block a user