Closed Bug 1268256 Opened 10 years ago Closed 7 years ago

Switch to settings-based celery beat scheduler

Categories

(developer.mozilla.org Graveyard :: Code Cleanup, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwhitlock, Assigned: peterbe)

References

Details

(Whiteboard: [specification][type:feature])

What problem would this feature solve? ====================================== The current CELERYBEAT_SCHEDULER is the django-celery database-backed scheduler. The django-celery package is deprecated. Who has this problem? ===================== Code maintainers How do you know that the users identified above have this problem? ================================================================== The django-celery package is required as long as the database-backed scheduler is used. How are the users identified above solving this problem now? ============================================================ The database-backed scheduler includes 3 daily tasks and 3 hourly tasks in production. Do you have any suggestions for solving the problem? Please explain in detail. ============================================================================== These can be re-written as settings-based schedules. Is there anything else we should know? ======================================
Blocks: 1268254

The Django database backend for celery beat has been relaunched as django-celery-beat, and may an easier transition to settings-based scheduling. I still prefer configuration in files that are checked into the repository.

The default Celery beat writes to a database file. This may require some thought when implementing as a Kubernetes service.

Assignee: nobody → peterbe

Solved when we upgraded to Celery 4.
https://github.com/mozilla/kuma/pull/5475

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.