tranche tweaks
This commit is contained in:
@@ -45,6 +45,8 @@ export function timesliceTranches() {
|
||||
} else {
|
||||
window = Math.round(duration / n)
|
||||
}
|
||||
if( window < 60 )
|
||||
window = 60
|
||||
const amtPerTranche = Math.ceil(MAX_FRACTION / n)
|
||||
duration -= 15 // subtract 15 seconds so the last tranche completes before the deadline
|
||||
for (let i = 0; i < n; i++) {
|
||||
|
||||
Reference in New Issue
Block a user