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

add socket & service metrics #2636

Merged
merged 6 commits into from
Sep 18, 2024

Conversation

wow-sven
Copy link
Collaborator

Summary

  1. add socket
  2. service metrics
  3. change local service burst size 5000
  • Closes #issue

Copy link

vercel bot commented Sep 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 16, 2024 7:05pm
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 16, 2024 7:05pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Visit Preview Sep 16, 2024 7:05pm

Comment on lines 430 to 436
if network.chain_id != BuiltinChainID::Local.chain_id() {
traffic_burst_size = opt.traffic_burst_size.unwrap_or(5000);
traffic_per_second = opt.traffic_per_second.unwrap_or(1);
} else {
traffic_burst_size = opt.traffic_burst_size.unwrap_or(100);
traffic_per_second = opt.traffic_per_second.unwrap_or(1);
};
Copy link
Contributor

Choose a reason for hiding this comment

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

为什么 local 的 traffic burst size 反倒小一些?应该是 local 更大一些吧?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

写反了

@jolestar jolestar merged commit 9c515e5 into rooch-network:main Sep 18, 2024
10 checks passed
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.

3 participants