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

Scheduler fix #121

Merged
merged 5 commits into from
Dec 28, 2022
Merged

Scheduler fix #121

merged 5 commits into from
Dec 28, 2022

Conversation

No9
Copy link
Collaborator

@No9 No9 commented Dec 28, 2022

Due to updates in the scheduler the scheduler was failing on the first call to the scheduled poll.
This wasn't caught in integration testing as the server would restart the agent pod and this would initiate a sweep that would allow the test to pass.
This update now maps to the implementation in the tokio-cron-scheduler examples and uses a loop to prevent the agent from falling through while it waits for the async handles to complete.

No9 added 5 commits December 21, 2022 08:52
Signed-off-by: Anton Whalley <anton@venshare.com>
Signed-off-by: Anton Whalley <anton@venshare.com>
Signed-off-by: Anton Whalley <anton@venshare.com>
Signed-off-by: Anton Whalley <anton@venshare.com>
Signed-off-by: Anton Whalley <anton@venshare.com>
@No9 No9 merged commit e3efed8 into main Dec 28, 2022
@No9 No9 deleted the scheduler-fix branch December 28, 2022 18:03
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.

1 participant