Revert PRUNE backoff period to default (#694)

This commit is contained in:
Hanno Cornelius 2021-08-12 09:57:19 +02:00 committed by GitHub
parent 027cd7f95d
commit 1ebcb266cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 5 deletions

View File

@ -1,5 +1,26 @@
# Changelog # 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 ## 2021-07-26 v0.5.1
This patch release contains the following fix: This patch release contains the following fix:

View File

@ -54,11 +54,6 @@ method initPubSub*(w: WakuRelay) {.raises: [Defect, InitializationError].} =
w.verifySignature = false w.verifySignature = false
w.sign = 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() procCall GossipSub(w).initPubSub()
w.init() w.init()