Double the slack period to prevent rewinding on-demand channels when it is a bit late.
This commit is contained in:
parent
670b9a015d
commit
1e2336d627
@ -197,7 +197,9 @@ class OnDemandService
|
||||
} else {
|
||||
let o = (tm - pm);
|
||||
startTime = startTime - o;
|
||||
if (o >= SLACK) {
|
||||
//It looks like it is convenient to make the on-demand a bit more lenient SLACK-wise tha
|
||||
//other parts of the schedule process. So SLACK*2 instead of just SLACK
|
||||
if (o >= SLACK*2) {
|
||||
startTime += onDemand.modulo;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user