Warning when server is shutting down.

This commit is contained in:
Roland 2024-05-19 15:46:54 -06:00
parent f9227f234c
commit 2c5da4b12d
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -186,7 +186,7 @@ async def initialize_configs(app: Sanic):
@limit_concurrent(1)
async def handle_server_shutdown(*args, **kwargs):
"""Stop downloads when server is shutting down."""
logger.debug('handle_server_shutdown')
logger.warning('Shutting down')
download_manager.stop()
await cancel_refresh_tasks()
await cancel_background_tasks()