Fix: type error
This commit is contained in:
parent
2f017c9932
commit
5f3be27f96
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ app.config_from_object("django.conf:settings", namespace="CELERY")
|
||||||
app.conf.beat_schedule = {
|
app.conf.beat_schedule = {
|
||||||
"auth.flush_expired_tokens": {
|
"auth.flush_expired_tokens": {
|
||||||
"task": "api.authentication.tasks.flush_expired_tokens",
|
"task": "api.authentication.tasks.flush_expired_tokens",
|
||||||
"schedule": crontab(hour=2, minute=0), # Daily at 2:00 AM
|
"schedule": crontab(hour="2", minute="0"), # Daily at 2:00 AM
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue