made update stop sending before 1am

since i fixed the update time i can make the deadline 1am
This commit is contained in:
Jannover5000r 2026-08-24 02:39:26 +02:00
parent 9357f7381b
commit ffd83811ab

View file

@ -208,8 +208,8 @@ func scheduleTimetableUpdate() {
// Get current time to filter any changes to Timetable before 3am so the new day changes stop
//
now := getTime()
// If before 3am stop and update userdata
if now.Hour() < 3 {
// If before 1am stop and update userdata
if now.Hour() < 1 {
prevData[acc.UserID] = data
continue
}