From 1ebcb266cb221bda4c4b8c8b08f66b8d3e5c6fe9 Mon Sep 17 00:00:00 2001 From: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com> Date: Thu, 12 Aug 2021 09:57:19 +0200 Subject: [PATCH] Revert PRUNE backoff period to default (#694) --- CHANGELOG.md | 21 +++++++++++++++++++++ waku/v2/protocol/waku_relay.nim | 5 ----- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dba9788dd..129460ed0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## Next version + +This release contains the following: + +### Features + +### Changes + +- GossipSub [prune backoff period](https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#prune-backoff-and-peer-exchange) is now the recommended 1 minute + +#### General refactoring + +#### Docs + +#### Schema + +#### API + + +### Fixes + ## 2021-07-26 v0.5.1 This patch release contains the following fix: diff --git a/waku/v2/protocol/waku_relay.nim b/waku/v2/protocol/waku_relay.nim index d7e96f6f1..57abd3c82 100644 --- a/waku/v2/protocol/waku_relay.nim +++ b/waku/v2/protocol/waku_relay.nim @@ -54,11 +54,6 @@ method initPubSub*(w: WakuRelay) {.raises: [Defect, InitializationError].} = w.verifySignature = false w.sign = false - # Here we can fine-tune GossipSub params for our purposes - w.parameters = GossipSubParams.init() - # Setting pruneBackoff allows us to restart nodes and trigger a re-subscribe within reasonable time. - w.parameters.pruneBackoff = 30.seconds - procCall GossipSub(w).initPubSub() w.init()