Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srene committed Sep 17, 2024
1 parent 6104b15 commit f4f06d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion store/badger.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ func (b *BadgerKV) Close() error {
}

func (b *BadgerKV) gc(period time.Duration, discardRatio float64, logger types.Logger) {

ticker := time.NewTicker(period)
defer ticker.Stop()
for range ticker.C {
Expand Down

0 comments on commit f4f06d2

Please sign in to comment.