Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Heartbeat Interval #212

Closed
ZenGround0 opened this issue Oct 14, 2019 · 1 comment
Closed

Configurable Heartbeat Interval #212

ZenGround0 opened this issue Oct 14, 2019 · 1 comment

Comments

@ZenGround0
Copy link

I'd like to be able to configure the gossipsub router's heartbeat interval. This is motivated by setting up local testing networks. The current interfaces don't give me a way to block until the mesh overlay is setup which I need to block on before publishing because of the behavior in #211. This mesh setup doesn't happen until the first heartbeat (the initial delay doesn't help because it is sometimes called before the first Join), and the default interval of 1 second is a bit too long for tests.

@vyzo
Copy link
Collaborator

vyzo commented Oct 15, 2019

The heartbeat interval is already configurable through the GossipSubHeartbeatInterval variable!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants