fix(lib/store/bbolt): run cleanup every hour instead of every 5 minutes

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-07-06 01:15:07 +00:00
parent 7d0c58d1a8
commit be42c5accf
2 changed files with 2 additions and 1 deletions

View File

@@ -126,7 +126,7 @@ func (s *Store) cleanup(ctx context.Context) error {
}
func (s *Store) cleanupThread(ctx context.Context) {
t := time.NewTicker(5 * time.Minute)
t := time.NewTicker(time.Hour)
defer t.Stop()
for {