Commit a15072d7 authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Add a constant for the polling of jobs death

Add a constant for the time interval at which WConfD checks for
resource owners that have died and cleans up their resources.
Signed-off-by: default avatarKlaus Aehlig <>
Reviewed-by: default avatarPetr Pudlak <>
parent 01a9a382
......@@ -4000,6 +4000,17 @@ luxidJobqueuePollInterval = 307
luxidMaximalRunningJobsDefault :: Int
luxidMaximalRunningJobsDefault = 20
-- * WConfD
-- | Time itnervall in seconds between checks that all lock owners are still
-- alive, and cleaning up the resources for the dead ones. As jobs dying without
-- releasing resources is the exception, not the rule, we don't want this task
-- to take up too many cycles itself. Hence we choose a sufficiently large
-- intervall, in the order of 5 minutes. To avoid accidental 'same wakeup'
-- with other tasks, we choose the next unused prime number.
wconfdDeathdetectionIntervall :: Int
wconfdDeathdetectionIntervall = 311
-- * Confd
confdProtocolVersion :: Int
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