As per our design, the maintenance daemon operates in rounds.
To avoid putting to much load on the cluster, the daemon waits
a minimal amount of time between those rounds. This time will
be configurable, but there is a default value.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 src/Ganeti/Constants.hs | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/Ganeti/Constants.hs b/src/Ganeti/Constants.hs
index 350c445..4cba0d5 100644
--- a/src/Ganeti/Constants.hs
+++ b/src/Ganeti/Constants.hs
@@ -4912,6 +4912,12 @@ mondLatestApiVersion = 1
 mondDefaultCategory :: String
 mondDefaultCategory = "default"
 
+-- * Maintenance daemon
+
+-- | Default wait in seconds time between maintenance rounds.
+maintdDefaultRoundDelay :: Int
+maintdDefaultRoundDelay = 300
+
 -- * Disk access modes
 
 diskUserspace :: String
-- 
2.4.3.573.g4eafbef

Reply via email to