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

feat: add more configuration options #165

Merged
merged 1 commit into from Sep 20, 2021

Conversation

wemeetagain
Copy link
Member

There are many options currently set by constants.
This is limiting when applications want to override these for
application-specific networks.

Several interesting options are now overridable via the constructor:

  • heartbeatInterval
  • fanoutTTL
  • mcacheLength
  • mcacheGossip
  • seenTTL

These options are optional with fallback values defaulting to the prior "constant" values.

There are many options currently set by constants.
This is limiting when applications want to override these for
application-specific networks.

Several interesting options are now overridable via the constructor:

- heartbeatInterval
- fanoutTTL
- mcacheLength
- mcacheGossip
- seenTTL
@codecov-commenter
Copy link

Codecov Report

Merging #165 (a3189ea) into master (751ea73) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #165   +/-   ##
=======================================
  Coverage   76.58%   76.58%           
=======================================
  Files           2        2           
  Lines        1905     1905           
  Branches      144      142    -2     
=======================================
  Hits         1459     1459           
  Misses        446      446           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 751ea73...a3189ea. Read the comment docs.

Copy link
Collaborator

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vasco-santos vasco-santos merged commit ff67106 into master Sep 20, 2021
@vasco-santos vasco-santos deleted the cayman/add-more-configuration-options branch September 20, 2021 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants