Skip to content

Commit 3cc82a1

Browse files
authored
chore: increase git fetch default timeout to 180s (#607)
Description of changes: The timeout being 30 seconds was causing a timeout error. Moving forward we may want to make certain changes to make the fetch faster By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent a488d4e commit 3cc82a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sdk/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
const (
3333
sdkRepoURLV2 = "https://github.com/aws/aws-sdk-go-v2"
3434
defaultGitCloneTimeout = 180 * time.Second
35-
defaultGitFetchTimeout = 30 * time.Second
35+
defaultGitFetchTimeout = 180 * time.Second
3636
)
3737

3838
func ContextWithSigterm(ctx context.Context) (context.Context, context.CancelFunc) {

0 commit comments

Comments
 (0)