js-libp2p-gossipsub icon indicating copy to clipboard operation
js-libp2p-gossipsub copied to clipboard

New parameter: pruneBackoff and unsubcribeBackoff

Open twoeths opened this issue 3 years ago • 2 comments
trafficstars

Motivation

  • Right now we have backoff time as a constant of 1 minute
export const GossipsubPruneBackoff = minute
  • Lodestar wants to specifies its own backoff time when it unsubscribes from a topic
  • Refer to nim's implementation https://github.com/status-im/nim-libp2p/pull/665

Description

  • Support unsubscribeBackoff param when we unsubscribe from a topic, default to some seconds
  • Support pruneBackoff param for other scenarios, default to 1 minute

twoeths avatar May 12 '22 07:05 twoeths

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.

stale[bot] avatar Aug 13 '22 14:08 stale[bot]

unstale

twoeths avatar Aug 15 '22 01:08 twoeths