Skip to content

Commit

Permalink
Merge pull request #289 from edmorley/increase-timeouts
Browse files Browse the repository at this point in the history
Increase timeouts for actions that rely on actions (again)
  • Loading branch information
jkutner authored Jul 8, 2024
2 parents 5d0c5af + d8ae516 commit d1a7091
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions registry/request-add-entry/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"gopkg.in/retry.v1"

"github.com/buildpacks/github-actions/internal/toolkit"
"github.com/buildpacks/github-actions/registry/request-add-entry"
entry "github.com/buildpacks/github-actions/registry/request-add-entry"
)

func main() {
Expand All @@ -41,7 +41,7 @@ func main() {

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

strategy := retry.LimitTime(8*time.Minute,
strategy := retry.LimitTime(20*time.Minute,
retry.Exponential{
Initial: time.Second,
MaxDelay: 30 * time.Second,
Expand Down
4 changes: 2 additions & 2 deletions registry/request-yank-entry/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"gopkg.in/retry.v1"

"github.com/buildpacks/github-actions/internal/toolkit"
"github.com/buildpacks/github-actions/registry/request-yank-entry"
entry "github.com/buildpacks/github-actions/registry/request-yank-entry"
)

func main() {
Expand All @@ -41,7 +41,7 @@ func main() {

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

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

0 comments on commit d1a7091

Please sign in to comment.