Add MaxIdleConnsPerHost. Fixes too many open files error.
This commit is contained in:
parent
8b334551d8
commit
49cd7f799e
4 changed files with 75 additions and 56 deletions
|
@ -55,6 +55,14 @@
|
|||
#
|
||||
# ProvidersThrottleDuration = "5s"
|
||||
|
||||
# If non-zero, controls the maximum idle (keep-alive) to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used.
|
||||
# If you encounter 'too many open files' errors, you can either change this value, or change `ulimit` value.
|
||||
#
|
||||
# Optional
|
||||
# Default: http.DefaultMaxIdleConnsPerHost
|
||||
#
|
||||
# MaxIdleConnsPerHost = 200
|
||||
|
||||
|
||||
################################################################
|
||||
# Web configuration backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue