opensearch-project / index-management

🗃 Automate periodic data operations, such as deleting indices at a certain age or performing a rollover at a certain size
https://opensearch.org/docs/latest/im-plugin/index/
Apache License 2.0
53 stars 108 forks source link

Sleep thread to allow jobs to finish #1066

Closed Joshua152 closed 6 months ago

Joshua152 commented 6 months ago

Issue #, if available:

Description of changes: Added thread sleep to allow any potential running jobs to finish

CheckList:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5aeed27) 74.81% compared to head (8ce3f4e) 74.90%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1066 +/- ## ============================================ + Coverage 74.81% 74.90% +0.09% - Complexity 2810 2812 +2 ============================================ Files 367 367 Lines 16518 16518 Branches 2362 2362 ============================================ + Hits 12358 12373 +15 + Misses 2857 2842 -15 Partials 1303 1303 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

bowenlan-amzn commented 6 months ago

@Joshua152 Great, thanks. Please incorporate this one with your backport PR later.