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

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-07-06 01:19:44 +00:00 committed by GitHub
parent f98750b038
commit 6fa5b8e4e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -151,7 +151,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 {