mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: trashing -> thrashing typo in docs
This is a follow-up for 918ed5cb32
This commit is contained in:
parent
370024c7ed
commit
3eef1ddc7d
1 changed files with 2 additions and 2 deletions
|
@ -1076,7 +1076,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{}{}:
|
||||
|
@ -1550,7 +1550,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{}{}:
|
||||
|
|
Loading…
Reference in a new issue