From 584520e32515ad3f30c122fda5e5e8c282182979 Mon Sep 17 00:00:00 2001 From: Matt Molyneaux Date: Tue, 16 Sep 2014 21:03:29 +0100 Subject: [PATCH] The scheduled garbage collection task was not being called due to it being misnamed Fix #968 --- mediagoblin/init/celery/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/init/celery/__init__.py b/mediagoblin/init/celery/__init__.py index 19c13f7d..fa1749e9 100644 --- a/mediagoblin/init/celery/__init__.py +++ b/mediagoblin/init/celery/__init__.py @@ -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), } } -- 2.25.1