mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
lib/vmselectapi: fixes regression for disable compression setting (#3932)
after vmselect api refactoring it wasn't possible to disable response cache. This patch restores correct behavior for rpc.disableCompression flag
This commit is contained in:
parent
22e8bd7222
commit
113a89904d
@ -114,9 +114,10 @@ func NewServer(addr string, api API, limits Limits, disableResponseCompression b
|
||||
return float64(len(concurrencyLimitCh))
|
||||
})
|
||||
s := &Server{
|
||||
api: api,
|
||||
limits: limits,
|
||||
ln: ln,
|
||||
api: api,
|
||||
limits: limits,
|
||||
disableResponseCompression: disableResponseCompression,
|
||||
ln: ln,
|
||||
|
||||
concurrencyLimitCh: concurrencyLimitCh,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user