Changes to the queue parameters typically indicate human knowledge about a change of job load. To be able to react quickly to the indicated new situation, also re-evaluate the state of all jobs; the change might have indicated that a burst of untracked jobs came to an end.
Signed-off-by: Klaus Aehlig <[email protected]> --- src/Ganeti/Query/Server.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ganeti/Query/Server.hs b/src/Ganeti/Query/Server.hs index 36e3b01..c153740 100644 --- a/src/Ganeti/Query/Server.hs +++ b/src/Ganeti/Query/Server.hs @@ -634,7 +634,7 @@ main _ _ (server, cref, jq) = do (Ok old, Ok new) -> (newConfig, configChangeNeedsRescheduling old new) _ -> (newConfig, True) -- no old or new config, schedule - when runScheduler (scheduleSomeJobs jq) + when runScheduler (updateStatusAndScheduleSomeJobs jq) let creader = readIORef cref -- 2.2.0.rc0.207.ga3a616c
