Skip to content
Snippets Groups Projects
Commit 38b9c970 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-190: smaller gap

parent 1c23452a
Branches
Tags
1 merge request!252Resolve TMSS-190
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment