mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2024-11-13 02:55:26 +08:00
Fix worker
This commit is contained in:
parent
18d40eede7
commit
30aa380c24
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ class WorkerLauncher:
|
||||||
await self._run_forever()
|
await self._run_forever()
|
||||||
|
|
||||||
async def _run_forever(self) -> None:
|
async def _run_forever(self) -> None:
|
||||||
await asyncio.sleep(self._RUN_FOREVER_SLEEP_SECONDS)
|
while True:
|
||||||
|
await asyncio.sleep(self._RUN_FOREVER_SLEEP_SECONDS)
|
||||||
|
|
||||||
async def _perform_setup(self) -> None:
|
async def _perform_setup(self) -> None:
|
||||||
await asyncio.gather(
|
await asyncio.gather(
|
||||||
|
|
Loading…
Reference in a new issue