From 75212eb0b89c6b8ebedeeb97f3e5d6dbae96d707 Mon Sep 17 00:00:00 2001 From: George Helman Date: Sun, 15 Dec 2024 17:11:42 -0500 Subject: [PATCH] Turn off Celery task that periodically deletes old data --- config/settings/base.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index 33300a70..38982d0f 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -278,12 +278,12 @@ CELERYBEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler" -CELERYBEAT_SCHEDULE = { - "clean_stale_data": { - "task": "dear_petition.petition.tasks.clean_stale_data.clean_stale_data_task", - "schedule": crontab(minute=0), # Every hour - } -} +# CELERYBEAT_SCHEDULE = { +# "clean_stale_data": { +# "task": "dear_petition.petition.tasks.clean_stale_data.clean_stale_data_task", +# "schedule": crontab(minute=0), # Every hour +# } +# } # django-allauth # ------------------------------------------------------------------------------