From e2aeb96a6a94d7e6ba6129564c930e2de6b7de8b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 20 Aug 2020 21:53:20 +0200 Subject: [PATCH] root: fix invalid import for clean_expired_models --- passbook/root/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passbook/root/settings.py b/passbook/root/settings.py index f6b924191..877f9d3d8 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -231,8 +231,8 @@ USE_TZ = True # Add a 10 minute timeout to all Celery tasks. CELERY_TASK_SOFT_TIME_LIMIT = 600 CELERY_BEAT_SCHEDULE = { - "clean_tokens": { - "task": "passbook.core.tasks.clean_tokens", + "clean_expired_models": { + "task": "passbook.core.tasks.clean_expired_models", "schedule": crontab(minute="*/5"), # Run every 5 minutes } }