root: fix invalid import for clean_expired_models
This commit is contained in:
parent
ff810c689f
commit
e2aeb96a6a
|
@ -231,8 +231,8 @@ USE_TZ = True
|
||||||
# Add a 10 minute timeout to all Celery tasks.
|
# Add a 10 minute timeout to all Celery tasks.
|
||||||
CELERY_TASK_SOFT_TIME_LIMIT = 600
|
CELERY_TASK_SOFT_TIME_LIMIT = 600
|
||||||
CELERY_BEAT_SCHEDULE = {
|
CELERY_BEAT_SCHEDULE = {
|
||||||
"clean_tokens": {
|
"clean_expired_models": {
|
||||||
"task": "passbook.core.tasks.clean_tokens",
|
"task": "passbook.core.tasks.clean_expired_models",
|
||||||
"schedule": crontab(minute="*/5"), # Run every 5 minutes
|
"schedule": crontab(minute="*/5"), # Run every 5 minutes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue