Setting the MaxIdleConns is not enough, the MaxIdleConnsPerHost must be set as well. Otherwise, http.Transport will use the DefaultMaxIdleConnsPerHost, which is 2, and then the connection pool will have only 2 connection hold. |
||
---|---|---|
.. | ||
cmd.go | ||
cmd_test.go | ||
configuration.go | ||
configuration_test.go | ||
logger.go | ||
login.go | ||
server.go | ||
signal.go | ||
signal_test.go | ||
tag.go | ||
tag_test.go |