From 0069b45bae4759b989ff807e5e8598d21a57e1a5 Mon Sep 17 00:00:00 2001 From: Fred Carle Date: Fri, 11 Oct 2024 12:33:55 -0400 Subject: [PATCH] =?UTF-8?q?add=20documentation=20for=20why=20we=20don?= =?UTF-8?q?=E2=80=99t=20publish=20on=20retry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net/peer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/net/peer.go b/net/peer.go index 2218865ccd..e4ebfe8573 100644 --- a/net/peer.go +++ b/net/peer.go @@ -263,6 +263,7 @@ func (p *Peer) handleLog(evt event.Update) error { // push to each peer (replicator) p.pushLogToReplicators(evt) + // Retries are for replicators only and should not polluting the pubsub network. if !evt.IsRetry { req := &pushLogRequest{ DocID: evt.DocID,