root: fix invalid import for clean_expired_models

This commit is contained in:
Jens Langhammer 2020-08-20 21:53:20 +02:00
parent ff810c689f
commit e2aeb96a6a
1 changed files with 2 additions and 2 deletions

View File

@ -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
}
}