Skip to content
Snippets Groups Projects
Commit 83bb1e10 authored by Maël Madon's avatar Maël Madon
Browse files

fix: easy_bf_fast not updating properly the expected start time, see issue9 batsched

parent 27595f82
Branches
Tags
1 merge request!19Use the faster implementation of easy backfilling
......@@ -147,6 +147,11 @@ void EasyBackfillingFast::make_decisions(double date,
// Backfill jobs that does not hinder priority job.
if (_nb_available_machines > 0)
{
// Update priority job expected starting time (might have changed if a recently ended job
// completed before its walltime)
if (_priority_job != nullptr)
_priority_job->completion_time = compute_priority_job_expected_earliest_starting_time();
for (auto job_it = _pending_jobs.begin();
job_it != _pending_jobs.end();)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment