mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
fix: change thrashing typo (#2317)
This commit is contained in:
parent
894416b4ca
commit
918ed5cb32
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue