Docs: Update default value for DefaultMaxIdleConnsPerHost.

This commit is contained in:
Timo Reimann 2017-03-06 13:40:46 +01:00
parent 2958a67ce5
commit 9541ee4cf6
2 changed files with 10 additions and 6 deletions

View File

@ -62,11 +62,13 @@
# #
# ProvidersThrottleDuration = "5" # ProvidersThrottleDuration = "5"
# If non-zero, controls the maximum idle (keep-alive) to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used. # Controls the maximum idle (keep-alive) connections to keep per-host. If zero, DefaultMaxIdleConnsPerHost
# If you encounter 'too many open files' errors, you can either change this value, or change `ulimit` value. # from the Go standard library net/http module is used.
# If you encounter 'too many open files' errors, you can either increase this
# value or change the `ulimit`.
# #
# Optional # Optional
# Default: http.DefaultMaxIdleConnsPerHost # Default: 200
# #
# MaxIdleConnsPerHost = 200 # MaxIdleConnsPerHost = 200

View File

@ -53,11 +53,13 @@
# #
# ProvidersThrottleDuration = "5" # ProvidersThrottleDuration = "5"
# If non-zero, controls the maximum idle (keep-alive) to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used. # Controls the maximum idle (keep-alive) connections to keep per-host. If zero, DefaultMaxIdleConnsPerHost
# If you encounter 'too many open files' errors, you can either change this value, or change `ulimit` value. # from the Go standard library net/http module is used.
# If you encounter 'too many open files' errors, you can either increase this
# value or change the `ulimit`.
# #
# Optional # Optional
# Default: http.DefaultMaxIdleConnsPerHost # Default: 200
# #
# MaxIdleConnsPerHost = 200 # MaxIdleConnsPerHost = 200