more
This commit is contained in:
parent
966c999d68
commit
ef4d45a148
@ -189,6 +189,9 @@ func NewVarnishCache(varnish_url, bind_addr, prefix, webroot, name, translations
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
},
|
},
|
||||||
|
DisableKeepAlives: true,
|
||||||
|
MaxIdleConnsPerHost: workers,
|
||||||
|
MaxIdleConns: workers,
|
||||||
}
|
}
|
||||||
cache.client = &http.Client{
|
cache.client = &http.Client{
|
||||||
Transport: cache.transport,
|
Transport: cache.transport,
|
||||||
|
Reference in New Issue
Block a user