fix: rolling over midnight wrongly classified as skip

This commit is contained in:
Carlos Valente
2024-12-18 23:51:51 +01:00
committed by Carlos Valente
parent 29e682ee06
commit e6dfe9c363
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { MILLIS_PER_MINUTE } from 'ontime-utils';
export const timerConfig = {
skipLimit: 1000, // threshold of skip for recalculating
skipLimit: 1000, // threshold of skip for recalculating, values lower than updateRate can cause issues with rolling over midnight
updateRate: 32, // how often do we update the timer
notificationRate: 1000, // how often do we notify clients and integrations
triggerAhead: 10, // how far ahead do we trigger the end event