add TODO to make MaxIdleConnsPerHost configurable

This commit is contained in:
Travis 2017-02-24 13:29:14 -06:00
parent 34cb92861b
commit 53a8f660a7

View file

@ -37,6 +37,7 @@ const (
func main() {
// Limit the number of connections that a server can make to a single node
// in order to prevent a cluster storm.
// TODO: make this configurable
http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 64
m := NewMain()