Commit 38acc50f authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Provide constants for the master voting

When voting for the master node, it might be that too many
nodes are temporarily not reachable, e.g., after a mass
reboot. In this case, we wait a given interval and retry.
Signed-off-by: default avatarKlaus Aehlig <>
Reviewed-by: default avatarPetr Pudlak <>
parent 48fde4bd
......@@ -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
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