Skip to content

Commit

Permalink
Stop swallowing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Mar 30, 2023
1 parent 36d274a commit 7a4082c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockstore/badger/blockstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ func (b *Blockstore) onlineGC(ctx context.Context, threshold float64, checkFreq
case <-ctx.Done():
err = ctx.Err()
case <-checkTick.C:
check()
err = check()
checkTick.Reset(checkFreq)
default:
err = b.db.RunValueLogGC(threshold)
Expand Down

0 comments on commit 7a4082c

Please sign in to comment.