Pas de schedule en mode debug
This commit is contained in:
parent
cf4f506168
commit
94b3fa1ccd
@ -579,6 +579,9 @@ def update_orphan_pure_import_events(self):
|
||||
tasks.delay()
|
||||
|
||||
|
||||
if settings.DEBUG:
|
||||
app.conf.beat_schedule = {}
|
||||
else:
|
||||
app.conf.beat_schedule = {
|
||||
"daily_orphans_update": {
|
||||
"task": "agenda_culturel.celery.update_orphan_pure_import_events",
|
||||
|
Loading…
x
Reference in New Issue
Block a user