Archived
1
0
This commit is contained in:
Jeff Becker 2018-12-21 08:43:07 -05:00
parent 966c999d68
commit ef4d45a148
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -189,6 +189,9 @@ func NewVarnishCache(varnish_url, bind_addr, prefix, webroot, name, translations
}
return
},
DisableKeepAlives: true,
MaxIdleConnsPerHost: workers,
MaxIdleConns: workers,
}
cache.client = &http.Client{
Transport: cache.transport,