show last time item was refreshed

This commit is contained in:
2026-02-13 23:20:12 +03:00
parent f43519f7f6
commit a37ed0d902
5 changed files with 42 additions and 7 deletions

View File

@@ -136,6 +136,11 @@ func main() {
continue
}
}
if err := m.UpdateRefreshedAt(item.ID, time.Now()); err != nil {
log.Printf("couldn't update refreshed_at for %d: %v\n", item.ID, err)
continue
}
}
time.Sleep(10 * time.Second)