diff --git a/src/Ganeti/Constants.hs b/src/Ganeti/Constants.hs index bb43e3361392724a5955c129a2d90f26815eb6d1..91759b808750f2474f8b96f185195357995415c5 100644 --- a/src/Ganeti/Constants.hs +++ b/src/Ganeti/Constants.hs @@ -4736,6 +4736,17 @@ luxiLivelockPrefix = "luxi-daemon" luxiCancelJobTimeout :: Int luxiCancelJobTimeout = (luxiDefRwto - 1) `div` 4 +-- * Master voting constants + +-- | Number of retries to carry out if nodes do not answer +masterVotingRetries :: Int +masterVotingRetries = 6 + +-- | Retry interval (in seconds) in master voting, if not enough answers +-- could be gathered. +masterVotingRetryIntervall :: Int +masterVotingRetryIntervall = 10 + -- * Query language constants -- ** Logic operators with one or more operands, each of which is a