mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-26 18:06:17 -05:00
Enabling downloads.
This commit is contained in:
parent
6e55e7360b
commit
2447ced632
2 changed files with 3 additions and 4 deletions
1
main.py
1
main.py
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue