1
0
Fork 0

Add MaxIdleConnsPerHost. Fixes too many open files error.

This commit is contained in:
emile 2016-02-09 22:29:01 +01:00
parent 8b334551d8
commit 49cd7f799e
No known key found for this signature in database
GPG key ID: D808B4C167352E59
4 changed files with 75 additions and 56 deletions

View file

@ -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