Set up celery#459
Merged
paulapreuss merged 15 commits intomainfrom Apr 29, 2026
Merged
Conversation
e5369c5 to
d944b88
Compare
Bachibouzouk
approved these changes
Apr 22, 2026
Bachibouzouk
left a comment
There was a problem hiding this comment.
Thanks for tackling this! I tested it with a very fast simulation and it did not update the status on the project page (I left it open but did not refresh it to see if the status would update automatically). The comment I made are more like open questions and no blocker to merge :)
a0bcae0 to
d151ade
Compare
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.
To allow to run scheduled jobs again and fix #381. Used to be handled with Django-Q but being updated due to Django Q being outdated and to share a similar setup with other repositories for easier maintenance. The configuration is mostly identical to what is used on the offgridplanner. I also fixed some errors on the dependabot config in this PR, but it is unrelated to the celery function.
@Bachibouzouk there is already an instance of beat/celery worker running on the server watching the sandbox server, all seems to be working. Simulations can be started, return to the projects page and the simulation status will be updated automatically on refresh when it changes.
Once we merge these changes into main, what should need to be done on the server is:
feature/celery-beattomain)