Skip to content

Commit

Permalink
Increase timeout for registry/request-add-entry and registry/request-…
Browse files Browse the repository at this point in the history
…yank-entry
  • Loading branch information
joshwlewis committed May 22, 2023
1 parent 723a8f4 commit 78e33ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion registry/request-add-entry/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {

gh := github.NewClient(oauth2.NewClient(context.Background(), oauth2.StaticTokenSource(&oauth2.Token{AccessToken: t})))

strategy := retry.LimitTime(2*time.Minute,
strategy := retry.LimitTime(5*time.Minute,
retry.Exponential{
Initial: time.Second,
MaxDelay: 30 * time.Second,
Expand Down
2 changes: 1 addition & 1 deletion registry/request-yank-entry/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {

gh := github.NewClient(oauth2.NewClient(context.Background(), oauth2.StaticTokenSource(&oauth2.Token{AccessToken: t})))

strategy := retry.LimitTime(2*time.Minute,
strategy := retry.LimitTime(5*time.Minute,
retry.Exponential{
Initial: time.Second,
MaxDelay: 30 * time.Second,
Expand Down

0 comments on commit 78e33ea

Please sign in to comment.