Skip to content

Commit

Permalink
Merge pull request #25 from codecrafters-io/increase-fetch-build-stat…
Browse files Browse the repository at this point in the history
…us-retry-delay

CC-1272 Increase retry attempts to 11
  • Loading branch information
libmartinito authored Jun 5, 2024
2 parents 7f24f14 + 01a2602 commit 39d9d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/codecrafters_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (c CodecraftersClient) FetchBuild(buildId string) (FetchBuildStatusResponse

return nil
},
retry.Attempts(5),
retry.Attempts(11),
retry.DelayType(retry.BackOffDelay),
retry.MaxDelay(2*time.Second),
retry.Delay(100*time.Millisecond),
Expand Down

0 comments on commit 39d9d8a

Please sign in to comment.