Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mgierada committed Jun 19, 2024
1 parent 3d9202c commit 7cfdc64
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/db/update_counter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cfdc64

Please sign in to comment.