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

disable crons and workers which do nothing #3958

Closed
pbiggar opened this issue May 25, 2022 · 1 comment
Closed

disable crons and workers which do nothing #3958

pbiggar opened this issue May 25, 2022 · 1 comment

Comments

@pbiggar
Copy link
Member

pbiggar commented May 25, 2022

When saving any handler or function, mark if it does anything (if everything it calls is non-side-effecting).

This should be saved in the toplevel_oplist table. When loading crons and workers, don't do anything if it's impure. Perhaps they shouldn't be emit (unless it's paused) or else they shouldn't run if they're ready to load.

@StachuDotNet
Copy link
Member

folding this into a larger issue shortly

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

No branches or pull requests

2 participants