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

Stops all jobs when stopping scheduler (fix #367) #368

Merged
merged 1 commit into from Aug 4, 2022

Conversation

pma9
Copy link

@pma9 pma9 commented Aug 3, 2022

What does this do?

This commit will call stop() on every job when the scheduler is stopped. This will prevent creating another job timer loop when the scheduler is started again.

Which issue(s) does this PR fix/relate to?

Resolves #367

Have you included tests for your changes?

Yes

@JohnRoesler
Copy link
Contributor

Thank you!

@JohnRoesler JohnRoesler merged commit 08a53ef into go-co-op:main Aug 4, 2022
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

Successfully merging this pull request may close these issues.

[BUG] - Restarting a stopped scheduler will run a job multiple times
2 participants