fix: change thrashing typo (#2317)

This commit is contained in:
Vic (Shihang) Li 2022-03-15 03:05:52 -04:00 committed by Aliaksandr Valialkin
parent fd0f521bb9
commit 9767fcd837
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -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()