We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869642d commit 0a3b6cdCopy full SHA for 0a3b6cd
ethreceipts/subscription.go
@@ -367,7 +367,7 @@ func (s *subscriber) retryPendingReceipts(ctx context.Context) {
367
// If context is cancelled, release the claim so the item can be retried later.
368
s.retryMu.Lock()
369
if current, ok := s.pendingReceipts[p.receipt.TransactionHash()]; ok && current == p {
370
- current.nextRetryAt = time.Now() // Reschedule immediately.
+ current.nextRetryAt = time.Now().Add(100 * time.Millisecond) // small delay to avoid immediate retry
371
}
372
s.retryMu.Unlock()
373
return
0 commit comments