We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28033e8 commit 2e58f04Copy full SHA for 2e58f04
1 file changed
block/internal/reaping/reaper.go
@@ -89,7 +89,7 @@ func (r *Reaper) reaperLoop() {
89
for {
90
submitted, err := r.drainMempool()
91
92
- if err != nil {
+ if err != nil && !errors.Is(err, context.Canceled) {
93
consecutiveFailures++
94
backoff := r.interval * time.Duration(1<<min(consecutiveFailures, 5))
95
backoff = min(backoff, MaxBackoffInterval)
0 commit comments