Run celery beat in separate container#233
Draft
Charl1996 wants to merge 1 commit into
Draft
Conversation
ajeety4
reviewed
May 28, 2026
ajeety4
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me.
I think it would be good to check that the new container does not add significant memory overhead, which I assume it does not.
Will wait for Cal's thoughts if any.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Technical Summary
This PR results from this ticket: https://dimagi.atlassian.net/browse/CI-593
As per celery docs:
Currently we run the celery beat in the same process as the celery worker, although this configuration is not recommended for production (at least when running more than one worker):
We've gotten away with running it this way because we only have one worker instance, but if we scale workers we might run into trouble.
Logging and monitoring
No new logs - after deploy I'll monitor the logs to ensure tasks are registered and executed.
Safety Assurance
Current celery beat is not running, and the worst case scenario is the same, ending up with beat not running. No impact expected on the workers.
Safety story
Automated test coverage
No automated tests
QA Plan
N.A
Labels & Review