Skip to content

Commit

Permalink
Merge pull request #524 from deardurham/turn_off_clean_stale_data
Browse files Browse the repository at this point in the history
Turn off Celery task that periodically deletes old data
  • Loading branch information
georgehelman authored Dec 16, 2024
2 parents 0050aca + 75212eb commit 7b5d576
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 7b5d576

Please sign in to comment.