fix: change thrashing typo (#2317)

This commit is contained in:
Vic (Shihang) Li 2022-03-15 03:05:52 -04:00 committed by GitHub
parent 894416b4ca
commit 918ed5cb32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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