Skip to content

Commit

Permalink
[plugin] Increases the cap of keepalive connection amount
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyanliu authored and Jack47 committed Dec 13, 2017
1 parent b4660ab commit 25a998d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/http_output.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ func httpOutputConstructor(conf plugins.Config) (plugins.Plugin, plugins.PluginT
KeepAlive: time.Duration(keepAlivePeriod) * time.Second,
DualStack: true,
}).DialContext,
MaxIdleConns: 100,
MaxIdleConnsPerHost: 20,
MaxIdleConns: 10240,
MaxIdleConnsPerHost: 512,
IdleConnTimeout: 90 * time.Second,
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
Expand Down

0 comments on commit 25a998d

Please sign in to comment.