From 416bcbd7140865793461ae10fa3df23f2a5dacf3 Mon Sep 17 00:00:00 2001 From: Ben Adrian Sarmiento Date: Mon, 1 Jul 2024 03:00:01 +0200 Subject: [PATCH] Reset at 1205am instead --- internal/universal/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/universal/downloader.go b/internal/universal/downloader.go index 1a18878..8cbdaff 100644 --- a/internal/universal/downloader.go +++ b/internal/universal/downloader.go @@ -39,7 +39,7 @@ func (dl *Downloader) StartResetBandwidthCountersJob() { if err != nil { cetTZ = time.FixedZone("CET", 1*60*60) } - nextMidnightInCET := time.Date(tomorrow.Year(), tomorrow.Month(), tomorrow.Day(), 0, 0, 0, 0, cetTZ) + nextMidnightInCET := time.Date(tomorrow.Year(), tomorrow.Month(), tomorrow.Day(), 0, 5, 0, 0, cetTZ) duration := nextMidnightInCET.Sub(now) timer := time.NewTimer(duration)