Skip to content

Commit

Permalink
Add additional modules to celery.autodiscover_tasks() (#2607)
Browse files Browse the repository at this point in the history
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
  • Loading branch information
StanGirard authored May 21, 2024
1 parent b06af57 commit 5c28f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/celery_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
raise ValueError(f"Unsupported broker URL: {CELERY_BROKER_URL}")


celery.autodiscover_tasks(["modules.sync"])
celery.autodiscover_tasks(["modules.sync", "modules", "middlewares", "packages"])

0 comments on commit 5c28f16

Please sign in to comment.