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

fix(network): set dial and accept limit in connection gater #1089

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Feb 9, 2024

Description

This PR establishes limits for inbound and outbound connections.
By default, each peer can have a up to maximum number of connections for inbound connections, but outbound connections are limited to a quarter of that.

Copy link

codecov bot commented Feb 9, 2024

Codecov Report

Merging #1089 (683fd51) into main (7b3e755) will decrease coverage by 0.03%.
Report is 1 commits behind head on main.
The diff coverage is 96.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1089      +/-   ##
==========================================
- Coverage   81.35%   81.33%   -0.03%     
==========================================
  Files         173      173              
  Lines        9165     9187      +22     
==========================================
+ Hits         7456     7472      +16     
- Misses       1356     1360       +4     
- Partials      353      355       +2     

@themantre themantre merged commit 2d9dd44 into pactus-project:main Feb 9, 2024
12 checks passed
@b00f b00f deleted the network-dial-limit branch February 9, 2024 18:21
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.

2 participants