Skip to content

Cleanup retries#7027

Merged
samcoe merged 7 commits intotrunkfrom
cleanup-retries
Mar 2, 2023
Merged

Cleanup retries#7027
samcoe merged 7 commits intotrunkfrom
cleanup-retries

Conversation

@samcoe
Copy link
Contributor

@samcoe samcoe commented Feb 21, 2023

This PR updates our many uses of backoffs throughout the codebase to use the cenkalti/backoff package.

Fixes #6985

@samcoe samcoe self-assigned this Feb 21, 2023
@samcoe samcoe marked this pull request as ready for review February 22, 2023 06:22
@samcoe samcoe requested review from a team as code owners February 22, 2023 06:22
@samcoe samcoe requested review from vilmibm and removed request for a team February 22, 2023 06:22
@samcoe samcoe requested a review from cmbrose February 28, 2023 02:51
}

codespace, err = apiClient.GetCodespace(ctx, codespace.Name, true)
if !connectionReady(codespace) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can we put in some whitespace to break this up a bit? It's pretty dense to read 😄

@samcoe samcoe enabled auto-merge (squash) March 2, 2023 22:58
@samcoe samcoe merged commit 35a24ca into trunk Mar 2, 2023
@samcoe samcoe deleted the cleanup-retries branch March 2, 2023 23:06
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.

Unify backoff retry mechanisms

2 participants