mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
lib/vmselectapi: typo fix after 20e9598254
This commit is contained in:
parent
b275983403
commit
2ca48444e2
@ -512,7 +512,7 @@ func (s *Server) processRPCWithConcurrencyLimit(ctx *vmselectRequestCtx, rpcName
|
||||
t := timerpool.Get(d)
|
||||
s.concurrencyLimitReached.Inc()
|
||||
select {
|
||||
case <-s.concurrencyLimitCh:
|
||||
case s.concurrencyLimitCh <- struct{}{}:
|
||||
timerpool.Put(t)
|
||||
ctx.qt.Printf("wait in queue because -%s=%d concurrent requests are executed", s.limits.MaxConcurrentRequestsFlagName, s.limits.MaxConcurrentRequests)
|
||||
case <-t.C:
|
||||
|
Loading…
Reference in New Issue
Block a user