IBM / core-dump-handler

Save core dumps from a Kubernetes Service or RedHat OpenShift to an S3 protocol compatible object store
https://ibm.github.io/core-dump-handler/
MIT License
131 stars 40 forks source link

Scheduler fix #121

Closed No9 closed 1 year ago

No9 commented 1 year ago

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.