Page MenuHomePhabricator

[lib] refactor sending `OutboundP2PMessages` to peers
ClosedPublic

Authored by kamil on Sep 18 2024, 5:15 AM.
Tags
None
Referenced Files
F3518048: D13376.id44294.diff
Sun, Dec 22, 7:04 PM
F3516398: D13376.id44328.diff
Sun, Dec 22, 2:18 PM
Unknown Object (File)
Fri, Dec 6, 12:26 PM
Unknown Object (File)
Thu, Dec 5, 5:42 PM
Unknown Object (File)
Nov 20 2024, 7:01 AM
Unknown Object (File)
Nov 20 2024, 6:40 AM
Unknown Object (File)
Nov 20 2024, 2:21 AM
Unknown Object (File)
Nov 19 2024, 10:25 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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