From 38b9c970257dd5f181fb6b378c3fc2d4ba5f6d3c Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Thu, 22 Oct 2020 08:04:00 +0200
Subject: [PATCH] TMSS-190: smaller gap

---
 SAS/TMSS/services/scheduling/lib/dynamic_scheduling.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SAS/TMSS/services/scheduling/lib/dynamic_scheduling.py b/SAS/TMSS/services/scheduling/lib/dynamic_scheduling.py
index 5fb1cf15d83..5c2f9c59123 100644
--- a/SAS/TMSS/services/scheduling/lib/dynamic_scheduling.py
+++ b/SAS/TMSS/services/scheduling/lib/dynamic_scheduling.py
@@ -163,8 +163,8 @@ def get_first_possible_start_time(scheduling_unit: models.SchedulingUnitBlueprin
 
     constraints = scheduling_unit.draft.scheduling_constraints_doc
 
-    # we're not evaluating constraints yet, so return a guestimate of now+1hour
-    return max(lower_bound, now)+timedelta(hours=1)
+    # we're not evaluating constraints yet, so return a guesstimate of now+10min
+    return max(lower_bound, now)+timedelta(minutes=10)
 
 
 def get_min_first_possible_start_time(scheduling_units: [models.SchedulingUnitBlueprint], lower_bound: datetime=None) -> datetime:
-- 
GitLab