Skip to content

Commit

Permalink
Allow more connection reuse than the default of 2 (#2343)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Kartschall <j.kartschall@syseleven.de>
  • Loading branch information
kubicgruenfeld committed Apr 2, 2020
1 parent 9de5640 commit 84495fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/objstore/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func NewBucketWithConfig(logger log.Logger, config Config, component string) (*B
DualStack: true,
}).DialContext,
MaxIdleConns: 100,
MaxIdleConnsPerHost: 100,
IdleConnTimeout: time.Duration(config.HTTPConfig.IdleConnTimeout),
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
Expand Down

0 comments on commit 84495fa

Please sign in to comment.