-
Notifications
You must be signed in to change notification settings - Fork 142
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
Better scheduler configuration #484
Comments
Hey @ThomasCrambert, this is almost wired up but not exactly what you want, via these not yet documented options. If you don't specify any workers, it also works, you don't need to set In our case, we run the dispatchers and scheduler separately from workers with this configuration:
We have
And that starts the 2 dispatchers and 1 scheduler. If you want only 1 scheduler, then perhaps we need an |
Hello @rosa 👋, Thanks for your quick reply 🙏
Setting
That would be awesome 🙏 |
Ah, I meant that you can leave the |
Hello 👋,
Currently, there’s no configuration option to specify if a scheduler should be started or not, this is decided if a recurring task file is given or not.
In our case, we would like to have only one scheduler for better isolation. To do that, we have to use the following configuration:
This will explicitly tell solid_queue to not boot anything apart from the supervisor and since we also give it a recurring task file, it will also start a scheduler.
This workaround works fine for us but I feel like there could be something more intuitive. If you think the same, I can try to come up with a solution. 👍
The text was updated successfully, but these errors were encountered: