-
Notifications
You must be signed in to change notification settings - Fork 250
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
Libp2p stream limits #1017
Merged
Merged
Libp2p stream limits #1017
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6b3b68b
Remove setting yamux window update mode, the same value is already th…
nazar-pc 7d1247f
Restore tracking of number of connected peers
nazar-pc bfac7a9
Implement libp2p stream limits with wrappers
nazar-pc d50c0a9
Remove now unnecessary batching restrictions
nazar-pc acebfaa
Remove unnecessary boxing and pinning in various places
nazar-pc 5029bf8
Subtract Kademlia tasks concurrency from the rest, so that only one S…
nazar-pc b43bd6c
Write basic tests for `maintain_semaphore_permits_capacity`
nazar-pc 6060dd6
Drop permit when query is finished and not earlier
nazar-pc fc80120
Support peers boosting threshold customization, set it to 5 for more …
nazar-pc 6e989d3
Resizable semaphore (#1019)
rahulksnv ce20efc
Merge remote-tracking branch 'origin/main' into libp2p-stream-limits
nazar-pc 47fb5db
Update to newer libp2p revision
nazar-pc e98c358
Update libp2p to fork with kademlia handler buffering
nazar-pc 21e719c
Increase timeout and max interval for piece publishing to reduce prob…
nazar-pc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note. We can do this right now:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is exactly what I wrote initially. Unfortunately
rustfmt
seems to be unable to formatlet .. else
, which is why I'm not using it yet anywhere. I'll be checking with new Rust releases as we upgrade and will start using it once formatting works.