Skip to content

Commit 2e58f04

Browse files
committed
fix unwanted log
1 parent 28033e8 commit 2e58f04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

block/internal/reaping/reaper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (r *Reaper) reaperLoop() {
8989
for {
9090
submitted, err := r.drainMempool()
9191

92-
if err != nil {
92+
if err != nil && !errors.Is(err, context.Canceled) {
9393
consecutiveFailures++
9494
backoff := r.interval * time.Duration(1<<min(consecutiveFailures, 5))
9595
backoff = min(backoff, MaxBackoffInterval)

0 commit comments

Comments
 (0)