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)
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
Unknown Object (File)
Tue, Oct 29, 6:09 AM
Unknown Object (File)
Fri, Oct 25, 11:05 PM
Unknown Object (File)
Wed, Oct 23, 7:03 AM
Unknown Object (File)
Oct 22 2024, 5:33 AM
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
No Lint Coverage
Unit
No Test Coverage

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