mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-05 01:01:09 +01:00
fix: change thrashing typo (#2317)
This commit is contained in:
parent
fd0f521bb9
commit
9767fcd837
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user