mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Latency monitor: basic samples collection.
This commit is contained in:
@ -1427,6 +1427,9 @@ void initServerConfig() {
|
||||
server.slowlog_log_slower_than = REDIS_SLOWLOG_LOG_SLOWER_THAN;
|
||||
server.slowlog_max_len = REDIS_SLOWLOG_MAX_LEN;
|
||||
|
||||
/* Latency monitor */
|
||||
server.latency_monitor_threshold = REDIS_DEFAULT_LATENCY_MONITOR_THRESHOLD;
|
||||
|
||||
/* Debugging */
|
||||
server.assert_failed = "<no assertion failed>";
|
||||
server.assert_file = "<no file>";
|
||||
@ -1730,6 +1733,7 @@ void initServer() {
|
||||
replicationScriptCacheInit();
|
||||
scriptingInit();
|
||||
slowlogInit();
|
||||
latencyMonitorInit();
|
||||
bioInit();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user