Enabling downloads.

This commit is contained in:
Roland 2022-01-06 13:56:49 -07:00
parent 6e55e7360b
commit 2447ced632
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 3 additions and 4 deletions

View file

@ -121,7 +121,6 @@ def periodic_downloads(app: Sanic, loop):
if wrol_mode_enabled():
logger.warning(f'Not starting download worker because WROL Mode is enabled.')
return
return
logger.info('Starting download manager.')
# Set all downloads to new.

View file

@ -130,6 +130,6 @@ async def statistics(_: Request):
return json_response(ret, HTTPStatus.OK)
# @before_startup
# def startup_spread_channel_downloads():
# channel_lib.spread_channel_downloads()
@before_startup
def startup_spread_channel_downloads():
channel_lib.spread_channel_downloads()