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

[TRIVIAL] Adjust frequency of mtENDPOINTS messages #3407

Closed
wants to merge 1 commit into from
Closed

[TRIVIAL] Adjust frequency of mtENDPOINTS messages #3407

wants to merge 1 commit into from

Conversation

nbougalis
Copy link
Contributor

Previously servers would send their peers mtENDPOINTS messages every 5 seconds. This is too often and for no real reason. Increase the frequency to 61 seconds (a prime number).

@nbougalis nbougalis requested a review from a user May 18, 2020 15:33
@scottschurr scottschurr assigned ghost May 18, 2020
@nbougalis nbougalis added the Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. label May 19, 2020
@@ -129,7 +129,8 @@ enum {
};

// How often we send or accept mtENDPOINTS messages per peer
static std::chrono::seconds const secondsPerMessage(5);
// (we use a prime number of purpose)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Which purpose?

This was referenced May 21, 2020
@nbougalis nbougalis deleted the epfreq branch October 16, 2023 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants