Skip to content

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 <[email protected]>
Signed-off-by: Anton Whalley <[email protected]>
Signed-off-by: Anton Whalley <[email protected]>
Signed-off-by: Anton Whalley <[email protected]>
@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.

2 participants