From 191977b324af2d3e171405577b0892634acd8a7c Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 16 Mar 2022 13:05:23 +0200 Subject: [PATCH] lib/storage: trashing -> thrashing typo in docs This is a follow-up for 918ed5cb328bac8a287417811cebd681f93d30fa --- lib/storage/storage.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/storage/storage.go b/lib/storage/storage.go index 3c649e6ccf..9561d597e8 100644 --- a/lib/storage/storage.go +++ b/lib/storage/storage.go @@ -1144,7 +1144,7 @@ func (s *Storage) searchTSIDs(tfss []*TagFilters, tr TimeRange, maxMetrics int, // on idb level. // Limit the number of concurrent goroutines that may search TSIDS in the storage. - // This should prevent from out of memory errors and CPU trashing when too many + // This should prevent from out of memory errors and CPU thrashing when too many // goroutines call searchTSIDs. select { case searchTSIDsConcurrencyCh <- struct{}{}: @@ -1661,7 +1661,7 @@ func (s *Storage) AddRows(mrs []MetricRow, precisionBits uint8) error { } // Limit the number of concurrent goroutines that may add rows to the storage. - // This should prevent from out of memory errors and CPU trashing when too many + // This should prevent from out of memory errors and CPU thrashing when too many // goroutines call AddRows. select { case addRowsConcurrencyCh <- struct{}{}: