fix broken bbolt database cleanup process (#848) (#848)

Closes #820, was broken since #761
This commit is contained in:
Nicholas Sherlock 2025-07-19 05:51:32 +12:00 committed by GitHub
parent d6298adc6d
commit 300720f030
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -142,7 +142,7 @@ func (s *Store) cleanup(ctx context.Context) error {
}
if now.After(expiry) {
return valueBkt.DeleteBucket(key)
return tx.DeleteBucket(key)
}
return nil