From fa12bfebda3f55eb8cbdac448de101e4e5833949 Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Fri, 19 Aug 2022 14:57:19 +0200 Subject: [PATCH] TMSS-1806: review: removed obsolete code path --- .../backend/services/scheduling/lib/dynamic_scheduling.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SAS/TMSS/backend/services/scheduling/lib/dynamic_scheduling.py b/SAS/TMSS/backend/services/scheduling/lib/dynamic_scheduling.py index c556f58ca72..7ef38e596ea 100644 --- a/SAS/TMSS/backend/services/scheduling/lib/dynamic_scheduling.py +++ b/SAS/TMSS/backend/services/scheduling/lib/dynamic_scheduling.py @@ -840,12 +840,6 @@ def unschededule_blocking_scheduled_units_if_needed_and_possible(candidate: Scor scheduled_scheduling_unit.id, scheduled_scheduling_unit.name, candidate.scheduling_unit.id, candidate.scheduling_unit.name, candidate.weighted_score, candidate.scheduling_unit.scheduled_start_time) - unschedule_subtasks_in_scheduling_unit_blueprint(scheduled_scheduling_unit) - elif candidate.scheduling_unit.id==scheduled_scheduling_unit.id and candidate.scheduled_start_time!=scheduled_scheduling_unit.scheduled_start_time: - logger.info("unscheduling id=%s '%s' start_time='%s' because it has a new proposed start_time id=%s '%s' start_time=%s", - scheduled_scheduling_unit.id, scheduled_scheduling_unit.name, scheduled_scheduling_unit.scheduled_start_time, - candidate.scheduling_unit.id, candidate.scheduling_unit.name, candidate.weighted_score, candidate.scheduling_unit.scheduled_start_time) - unschedule_subtasks_in_scheduling_unit_blueprint(scheduled_scheduling_unit) else: logger.info("scheduling_unit id=%s '%s' start_time='%s' will not be unscheduled and keep blocking candidate id=%s '%s' start_time='%s'", -- GitLab