Page MenuHomePhabricator

[lib] refactor sending `OutboundP2PMessages` to peers
ClosedPublic

Authored by kamil on Sep 18 2024, 5:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 16, 4:09 AM
Unknown Object (File)
Mon, Oct 14, 6:48 PM
Unknown Object (File)
Mon, Oct 7, 1:56 PM
Unknown Object (File)
Sun, Oct 6, 10:50 AM
Unknown Object (File)
Fri, Oct 4, 2:00 AM
Unknown Object (File)
Thu, Oct 3, 8:10 PM
Unknown Object (File)
Wed, Oct 2, 2:04 AM
Unknown Object (File)
Tue, Oct 1, 5:29 AM
Subscribers

Details

Summary

ENG-9106.

New approach, in linked task there is documented what changes and why this is better.

Depends on D13374

Test Plan
  1. Test sending messages when session not exists.
  2. Test sending when session exists.
  3. Make sure notifs still works.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Sep 18 2024, 5:44 AM
tomek added inline comments.
lib/tunnelbroker/peer-to-peer-context.js
75

If we are sure that we can ignore this exception, we should at least add a code comment explaining why.

172
This revision is now accepted and ready to land.Sep 18 2024, 10:55 PM
  • fix comment
  • add comment
  • rebase