Skip to content

Commit

Permalink
aws/credentials/processcreds: Increase the default max buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail committed Nov 19, 2019
1 parent f103b8d commit df1fd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws/credentials/processcreds/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ import (

"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/internal/sdkio"
)

const (
Expand Down Expand Up @@ -142,7 +143,7 @@ const (

// DefaultBufSize limits buffer size from growing to an enormous
// amount due to a faulty process.
DefaultBufSize = 1024
DefaultBufSize = 8 * sdkio.KibiByte

// DefaultTimeout default limit on time a process can run.
DefaultTimeout = time.Duration(1) * time.Minute
Expand Down

0 comments on commit df1fd5c

Please sign in to comment.