mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
6f05c4d351
Prioritize also small merges over big merges. Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/291 Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/648
11 lines
367 B
Go
11 lines
367 B
Go
package storagepacelimiter
|
|
|
|
import (
|
|
"github.com/VictoriaMetrics/VictoriaMetrics/lib/pacelimiter"
|
|
)
|
|
|
|
// Search limits the pace of search calls when there is at least a single in-flight assisted merge.
|
|
var Search = pacelimiter.New()
|
|
|
|
// BigMerges limits the pace for big merges when there is at least a single in-flight small merge.
|
|
var BigMerges = pacelimiter.New()
|