From 7cfdc64cf7f1b5ee374b4b3adb171a1604dc93e8 Mon Sep 17 00:00:00 2001 From: Maciej Gierada Date: Wed, 19 Jun 2024 15:45:39 +0200 Subject: [PATCH] fix: cleanup --- server/db/update_counter.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/db/update_counter.go b/server/db/update_counter.go index 5be73db..9308076 100644 --- a/server/db/update_counter.go +++ b/server/db/update_counter.go @@ -113,7 +113,6 @@ func upsertCounterData(tableName string) (bool, error) { updateInterval := time.Duration(updateIntervalInt) - // if time.Since(lastUpdated) < updateInterval*time.Second { if time.Since(lastUpdated) < updateInterval*time.Hour { log.Printf("🙅 %d hours have not passed since the last update. Counter not increased...", updateIntervalInt) return false, nil