Page MenuHomePhabricator

[tunnelbroker] Use AMQP wrapper in servers
ClosedPublic

Authored by bartek on Oct 3 2024, 1:36 PM.
Tags
None
Referenced Files
F3341257: D13604.id44884.diff
Thu, Nov 21, 10:45 PM
F3340604: D13604.id44933.diff
Thu, Nov 21, 10:05 PM
F3339740: D13604.id44901.diff
Thu, Nov 21, 8:32 PM
F3337155: D13604.diff
Thu, Nov 21, 3:58 PM
Unknown Object (File)
Wed, Nov 20, 4:17 AM
Unknown Object (File)
Sun, Nov 10, 10:15 AM
Unknown Object (File)
Fri, Nov 8, 10:37 PM
Unknown Object (File)
Fri, Nov 8, 1:48 PM
Subscribers

Details

Summary

Replacing legacy connection with the new wrapper struct

Depends on D13603

Test Plan

cargo build, tunnelbroker integration tests

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek edited the test plan for this revision. (Show Details)
bartek published this revision for review.Oct 4 2024, 3:52 AM
bartek added inline comments.
services/tunnelbroker/src/grpc/mod.rs
61–64 ↗(On Diff #44884)

By retrieving it each time we make sure it's connected - the channel().await takes care of it

131–134 ↗(On Diff #44884)

This expect caused crashes when trying to create channels on already-broken connection

This revision is now accepted and ready to land.Oct 7 2024, 1:52 AM