-
Notifications
You must be signed in to change notification settings - Fork 44
feat(filter): enhancing protocol peer management with mutex locks #2137
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
8caa220
chore: improvements
danisharora099 4554eea
chore: add logs for subscription maintenance
danisharora099 692081e
chore: update logging
danisharora099 6117593
chore: trimming down BaseProtocolCore
danisharora099 128041b
chore: track peers in a hashmap instead of array
danisharora099 ac1a030
chore: peer mgmt responds to conenction/disconnection and improve log…
danisharora099 3384b87
feat: add mutex locks to tackle race conditions over shared state
danisharora099 557ee96
fix: build
danisharora099 558fb6a
chore: some mutex lock-release improvements
danisharora099 82baa26
feat: peer manager
danisharora099 8cb3c35
chore: rm tests for remove internal util
danisharora099 1df0556
chore: update HealthManager updates
danisharora099 d1d9198
chore: update tests
danisharora099 2e79540
rm: only
danisharora099 be7a0b0
fix: hasPeers management
danisharora099 aec9451
chore: add modularity to getting connected peers
danisharora099 3647ec9
chore: improve logs & add debug
danisharora099 4d7b997
chore: renewal doesnt disconnect, only removes
danisharora099 3eef8be
chore: await for sequential operations
danisharora099 7b7d691
chore: add TODO
danisharora099 8e88fad
chore: minor improvements
danisharora099 b0d53bc
chore: fix rebase
danisharora099 92b506d
chore: update playright
danisharora099 017e901
chore: remove additional arg
danisharora099 d0714d9
chore: update interafce
danisharora099 874d835
feat(peer-manager): unit tests
danisharora099 b9bfaa2
chore: improve hasPeers()
danisharora099 ed138cc
chore: update lockfile
danisharora099 43fa32b
feat: Filter reacts to peer:disconnect event, add tests
danisharora099 535a20f
chore: fix lock
danisharora099 829d183
chore: update playright
danisharora099 e84eb62
chore: update protocol health for lightpush
danisharora099 b7bdb60
chore: remove .only
danisharora099 7e2c1cb
chore: address comments and improvements
danisharora099 de10ff4
fix: tsconfig
danisharora099 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.