Skip to content

Commit

Permalink
Up timeout to 60 minutes, if using multipart upload it's likely a lar…
Browse files Browse the repository at this point in the history
…ge file
  • Loading branch information
Starttoaster committed Apr 17, 2024
1 parent a8504fd commit 91bdf61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/amazon/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ func MultiPartUpload(input MultiPartUploadInput) error {
if input.MaxConcurrent < 1 {
input.MaxConcurrent = 10
}
// Set timeout to 10 minutes if not specified or zero value
// Set timeout to 60 minutes if not specified or zero value
if input.CtxTimeout == 0 {
input.CtxTimeout = 10 * time.Minute
input.CtxTimeout = 60 * time.Minute
}

// Set up context with timeout
Expand Down

0 comments on commit 91bdf61

Please sign in to comment.