diff --git a/lib/writeconcurrencylimiter/concurrencylimiter.go b/lib/writeconcurrencylimiter/concurrencylimiter.go index a91fa686d..0237f5ba1 100644 --- a/lib/writeconcurrencylimiter/concurrencylimiter.go +++ b/lib/writeconcurrencylimiter/concurrencylimiter.go @@ -31,7 +31,7 @@ func Init() { // Do calls f with the limited concurrency. func Do(f func() error) error { // Limit the number of conurrent f calls in order to prevent from excess - // memory usage and CPU trashing. + // memory usage and CPU thrashing. select { case ch <- struct{}{}: err := f()