Revision 54a2661e

b/src/Ganeti/Constants.hs
3931 3931
-- | Time intervall in seconds for polling updates on the job queue. This
3932 3932
-- intervall is only relevant if the number of running jobs reaches the maximal
3933 3933
-- allowed number, as otherwise new jobs will be started immediately anyway.
3934
-- Also, as jobs are watched via inotify, scheduling usually works independent
3935
-- of polling. Therefore we chose a sufficiently large interval, in the order of
3936
-- 5 minutes. As with the interval for reloading the configuration, we chose a
3937
-- prime number to avoid accidental 'same wakeup' with other processes.
3934 3938
luxidJobqueuePollInterval :: Int
3935
luxidJobqueuePollInterval = 3
3939
luxidJobqueuePollInterval = 307
3936 3940

  
3937 3941
-- | Maximal number of jobs to be running at the same time. Once this number is
3938 3942
-- reached, new jobs will just be queued and only started, once some of the

Also available in: Unified diff