app/vminsert/concurrencylimiter: typo fix in the error message

This commit is contained in:
Aliaksandr Valialkin 2019-06-08 22:43:08 +03:00
parent f4252f87e6
commit c0baa977cf

View file

@ -42,7 +42,7 @@ func Do(f func() error) error {
case <-t.C: case <-t.C:
timerpool.Put(t) timerpool.Put(t)
concurrencyLimitErrors.Inc() concurrencyLimitErrors.Inc()
return fmt.Errorf("the server is overloaded with %d concurrent inserts; either -maxConcurrentInserts or reduce the load", cap(ch)) return fmt.Errorf("the server is overloaded with %d concurrent inserts; either increase -maxConcurrentInserts or reduce the load", cap(ch))
} }
} }