priority: 15: download_media_thumbnail
This commit is contained in:
1 parent
c8a9037fb2
commit
d769f39a86
1 file changed
+1
-1
@@ -472,7 +472,7 @@ def download_media_metadata(media_id):
|
||||
f'{source} / {media}: {media_id}')
|
||||
|
||||
|
||||
@background(schedule=dict(run_at=60), remove_existing_tasks=True)
|
||||
@background(schedule=dict(priority=15, run_at=60), remove_existing_tasks=True)
|
||||
def download_media_thumbnail(media_id, url):
|
||||
'''
|
||||
Downloads an image from a URL and save it as a local thumbnail attached to a
|
||||
|
||||
Reference in new issue
Block a user