Page MenuHomePhabricator

[tunnelbroker] Use AMQP wrapper in servers
ClosedPublic

Authored by bartek on Oct 3 2024, 1:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 1:10 AM
Unknown Object (File)
Wed, Dec 18, 11:38 AM
Unknown Object (File)
Wed, Dec 18, 11:38 AM
Unknown Object (File)
Wed, Dec 18, 11:38 AM
Unknown Object (File)
Mon, Nov 25, 1:02 PM
Unknown Object (File)
Fri, Nov 22, 4:48 PM
Unknown Object (File)
Fri, Nov 22, 4:48 PM
Unknown Object (File)
Thu, Nov 21, 10:45 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