From 3dc48c1783182c32717c12ca0648a36edf0883f4 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Dec 2023 16:05:00 -0500 Subject: [PATCH] Lower default monitoring interval to 15s Faults are also reported on the monitoring interval, so 60s seems like too long. Lower this to 15 seconds by default instead. --- daemon-common/config.py | 2 +- pvc.sample.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon-common/config.py b/daemon-common/config.py index 231f3c1d..8ebde8e9 100644 --- a/daemon-common/config.py +++ b/daemon-common/config.py @@ -284,7 +284,7 @@ def get_parsed_configuration(config_file): config_timer = { "vm_shutdown_timeout": int(o_timer.get("vm_shutdown_timeout", 180)), "keepalive_interval": int(o_timer.get("keepalive_interval", 5)), - "monitoring_interval": int(o_timer.get("monitoring_interval", 60)), + "monitoring_interval": int(o_timer.get("monitoring_interval", 15)), } config = {**config, **config_timer} diff --git a/pvc.sample.conf b/pvc.sample.conf index 8a7d5454..e4fb3e7b 100644 --- a/pvc.sample.conf +++ b/pvc.sample.conf @@ -216,7 +216,7 @@ timer: keepalive_interval: 5 # Monitoring interval (seconds) - monitoring_interval: 60 + monitoring_interval: 15 # Fencing configuration fencing: