Commit e41a67fb authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in default value

parent c7152110
...@@ -317,7 +317,7 @@ def createObjectInterruptions(): ...@@ -317,7 +317,7 @@ def createObjectInterruptions():
shiftPattern.remove(next) shiftPattern.remove(next)
endUnfinished=bool(int(shift.get('endUnfinished', 0))) endUnfinished=bool(int(shift.get('endUnfinished', 0)))
receiveBeforeEndThreshold=float(shift.get('receiveBeforeEndThreshold', 0)) receiveBeforeEndThreshold=float(shift.get('receiveBeforeEndThreshold', 0))
thresholdTimeIsOnShift=bool(int(shift.get('thresholdTimeIsOnShift', 0))) thresholdTimeIsOnShift=bool(int(shift.get('thresholdTimeIsOnShift', 1)))
SS=ShiftScheduler(victim=victim, shiftPattern=shiftPattern, endUnfinished=endUnfinished, SS=ShiftScheduler(victim=victim, shiftPattern=shiftPattern, endUnfinished=endUnfinished,
receiveBeforeEndThreshold=receiveBeforeEndThreshold, receiveBeforeEndThreshold=receiveBeforeEndThreshold,
thresholdTimeIsOnShift=thresholdTimeIsOnShift) thresholdTimeIsOnShift=thresholdTimeIsOnShift)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment