The scheduled garbage collection task was not being called due to it being misnamed
Fix #968
This commit is contained in:
parent
5a9111063f
commit
584520e325
@ -67,7 +67,7 @@ def get_celery_settings_dict(app_config, global_config,
|
||||
frequency = int(frequency)
|
||||
celery_settings['CELERYBEAT_SCHEDULE'] = {
|
||||
'garbage-collection': {
|
||||
'task': 'mediagoblin.submit.task.garbage_collection',
|
||||
'task': 'mediagoblin.submit.task.collect_garbage',
|
||||
'schedule': datetime.timedelta(minutes=frequency),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user