mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-24 19:30:06 +01: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
12 lines
367 B
Go
12 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()
|