mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
parent
4fd2745332
commit
a6dd17bfef
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ class Daemon(Logger):
|
|||
try:
|
||||
async with self.taskgroup as group:
|
||||
[await group.spawn(job) for job in jobs]
|
||||
await group.spawn(asyncio.Event().wait) # run forever (until cancel)
|
||||
except BaseException as e:
|
||||
self.logger.exception('daemon.taskgroup died.')
|
||||
finally:
|
||||
|
|
Loading…
Add table
Reference in a new issue