-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Tracker Architecture for Multi-Peer Connections (#77)
* chore: Update npm dependencies to latest versions * refactor: update tracker to support multiple peers on one connection * refactor: Remove unused code for peers in FastTracker * refactor: processStop * refactor: disconnect peer * feat: Add clearPeersInterval to automatically disconnect inactive peers * refactor: tracker announce & disconnect logic * refactor: small improvements * refactor: Update SocketContext references in heap-usage and simulation.test * refactor: Update tests * refactor: Improvements * refactor: Improve FastTracker by optimizing peer management * Remove completedCount * Refactor remove peer messages * Fix peers statistics * Fix WebSockets counter * Revert socket counter * Enable messages debugging --------- Co-authored-by: Andriy Lysnevych <[email protected]>
- Loading branch information
1 parent
367c8d8
commit bc9f999
Showing
10 changed files
with
754 additions
and
1,067 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.