Skip to content

Commit

Permalink
Increase DefaultBufSize
Browse files Browse the repository at this point in the history
The current buffer size is too small to account for the size of the
session token along with the other values. The size I typically see is
587, however I increased the default size to 1024, which seems pretty
reasonable.

Addresses aws#2334
  • Loading branch information
jmassara committed Dec 6, 2018
1 parent 61f7304 commit d0315f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/credentials/processcreds/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const (

// DefaultBufSize limits buffer size from growing to an enormous
// amount due to a faulty process.
DefaultBufSize = 512
DefaultBufSize = 1024

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

0 comments on commit d0315f5

Please sign in to comment.