mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
15 lines
511 B
Go
15 lines
511 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.
|
|
//
|
|
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/291
|
|
var Search = pacelimiter.New()
|
|
|
|
// BigMerges limits the pace for big merges when there is at least a single in-flight small merge.
|
|
//
|
|
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/648
|
|
var BigMerges = pacelimiter.New()
|