Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only collect tasks from installed apps #82

Open
PeterJCLaw opened this issue Nov 21, 2022 · 0 comments
Open

Only collect tasks from installed apps #82

PeterJCLaw opened this issue Nov 21, 2022 · 0 comments

Comments

@PeterJCLaw
Copy link
Contributor

While tasks files are currently only explicitly imported from installed apps, tasks (and their queues) are implicitly registered when other apps are imported. This can mean that non-installed apps end up having their queues registered and extra workers created. For a large codebase with lots of optional apps this can represent quite a lot of redundant workers.

It would be great if there was a way around this. Maybe some form of check in that the queue comes from a task which is in an installed app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant