Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add changes to fix issues running the Spacewalk client in Kubernetes (#…
…519) * Change/remove `backoff::retry()` usage in runner * Remove `backoff` from error.rs * Manually implement backoff behaviour * Fix build error * Formatting * Refactor error messages * Restore original logic with max retry interval * Remove import * Run `cargo +nightly-2024-02-09 fmt --all` * Run cargo fmt with nightly * Add logic to reopen the runner websocket * Add debug logs * Fix compile issues * Add test for the backoff/retry logic * Simplify retry logic * Use test for both * Remove unfinished test case and refactor * fix trailing semicolons * Refactor error handling around `try_get_release()` * Remove patch statement for `ahash` again * Remove patch statement for `ahash` again * Replace references to `nightly-02-09` with `nightly-04-18` * Don't log message for each retry * Change `max-parallel` to `2` as there is no reason not to parallelize the jobs anymore * Add some 'allow' statements for clippy * revert version to 2024-02-09 --------- Co-authored-by: b-yap <[email protected]>
- Loading branch information