Skip to content

Comments

Retry acquiring builder if the first attempt results in an error#35

Merged
jacobwgillespie merged 1 commit intomainfrom
retry
May 24, 2022
Merged

Retry acquiring builder if the first attempt results in an error#35
jacobwgillespie merged 1 commit intomainfrom
retry

Conversation

@jacobwgillespie
Copy link
Member

We have seen some spurious network issues cause the CLI to be unable to acquire a builder connection within the timeout.

Before making any more involved changes, this PR adds one retry phase, so if the first attempt to acquire a builder fails, it is retried once before being reported as an error. So that the CLI doesn't wait any longer than it does currently, the timeout for acquiring a connection is now 30 seconds rather than 60, so the retry will happen half-way through the previous window.

@jacobwgillespie jacobwgillespie enabled auto-merge May 24, 2022 19:40
@jacobwgillespie jacobwgillespie merged commit 09603c9 into main May 24, 2022
@jacobwgillespie jacobwgillespie deleted the retry branch May 24, 2022 19:43
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.

1 participant