js-libp2p-gossipsub
js-libp2p-gossipsub copied to clipboard
New parameter: pruneBackoff and unsubcribeBackoff
trafficstars
Motivation
- Right now we have backoff time as a constant of 1 minute
export const GossipsubPruneBackoff = minute
- Lodestar wants to specifies its own
backofftime when it unsubscribes from a topic - Refer to nim's implementation https://github.com/status-im/nim-libp2p/pull/665
Description
- Support
unsubscribeBackoffparam when we unsubscribe from a topic, default to some seconds - Support
pruneBackoffparam for other scenarios, default to 1 minute
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
unstale