Update to add_workers

This commit is contained in:
Mark Backman
2026-05-21 23:14:14 -04:00
parent 0b9500aae4
commit 9054912dfb
7 changed files with 18 additions and 19 deletions

View File

@@ -273,8 +273,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
logger.info("Client disconnected")
await runner.cancel()
await runner.launch_worker(DeixisWorker())
await runner.launch_worker(worker)
await runner.add_workers(DeixisWorker(), worker)
await runner.run()