mirror of https://github.com/waku-org/nwaku.git
Revert PRUNE backoff period to default (#694)
This commit is contained in:
parent
027cd7f95d
commit
1ebcb266cb
21
CHANGELOG.md
21
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:
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue