mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
lib/opentsdbhttp: fix a typo preventing from using writeconcurrencylimiter (#4208)
This commit is contained in:
parent
56350eb1ce
commit
c7a407368a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ var (
|
|||
func ParseStream(req *http.Request, callback func(rows []Row) error) error {
|
||||
wcr := writeconcurrencylimiter.GetReader(req.Body)
|
||||
defer writeconcurrencylimiter.PutReader(wcr)
|
||||
r := io.Reader(req.Body)
|
||||
r := io.Reader(wcr)
|
||||
|
||||
readCalls.Inc()
|
||||
if req.Header.Get("Content-Encoding") == "gzip" {
|
||||
|
|
Loading…
Reference in a new issue