Commit ec34a57f authored by Klaus Aehlig's avatar Klaus Aehlig

Add a constant for the default value to wait between rounds

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: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
parent a8fe98bc
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment