We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2d833f commit 4d0a7e3Copy full SHA for 4d0a7e3
1 file changed
taskiq/cli/scheduler/run.py
@@ -212,4 +212,6 @@ async def run_scheduler(args: SchedulerArgs) -> None:
212
except asyncio.CancelledError:
213
logger.warning("Shutting down scheduler.")
214
await scheduler.shutdown()
215
+ for source in scheduler.sources:
216
+ await source.shutdown()
217
logger.info("Scheduler shut down. Good bye!")
0 commit comments