(LedgerStore) Change the default RocksDB perf sample rate to 1 / 1000. (#24234)
This commit is contained in:
committed by
GitHub
parent
5a48ef72fd
commit
077bc4f407
@ -2275,7 +2275,7 @@ mod rocks_metrics_utils {
|
||||
};
|
||||
const METRIC_SAMPLES_1K: i32 = 1000;
|
||||
// The default number of rocksdb perf samples in 1K
|
||||
const ROCKSDB_PERF_CONTEXT_SAMPLES_IN_1K_DEFAULT: i32 = 10;
|
||||
const ROCKSDB_PERF_CONTEXT_SAMPLES_IN_1K_DEFAULT: i32 = 0;
|
||||
lazy_static! {
|
||||
// The number of RocksDB performance counter samples in 1000.
|
||||
static ref ROCKSDB_PERF_CONTEXT_SAMPLES_IN_1K: i32 =
|
||||
|
Reference in New Issue
Block a user