Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 2e775b5

Browse files
author
Bash06
committed
feat: fix mistake
1 parent 25edd28 commit 2e775b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func main() {
7373

7474
// Periodically cleans up expired records from the database
7575
func cleanDb(db *gorm.DB) {
76-
ticker := time.NewTicker(1 * time.Second)
76+
ticker := time.NewTicker(5 * time.Minute)
7777

7878
for range ticker.C {
7979
slog.Debug("Tick! Cleaning up records")

0 commit comments

Comments
 (0)