Page MenuHomePhabricator

[lib] refactor sending `OutboundP2PMessages` to peers
ClosedPublic

Authored by kamil on Sep 18 2024, 5:15 AM.
Tags
None
Referenced Files
F3320421: D13376.diff
Tue, Nov 19, 10:25 PM
F3318505: D13376.id.diff
Tue, Nov 19, 8:34 PM
Unknown Object (File)
Fri, Nov 1, 9:17 AM
Unknown Object (File)
Tue, Oct 29, 6:11 AM
Unknown Object (File)
Tue, Oct 22, 10:41 AM
Unknown Object (File)
Tue, Oct 22, 10:21 AM
Unknown Object (File)
Tue, Oct 22, 10:21 AM
Unknown Object (File)
Tue, Oct 22, 10:21 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 ↗(On Diff #44294)

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

172 ↗(On Diff #44294)
This revision is now accepted and ready to land.Sep 18 2024, 10:55 PM
  • fix comment
  • add comment
  • rebase