HomePhabricator
Diffusion Comm 36e96f2b24e9

[tunnelbroker] Implement AMQP reconnect on channel access

Description

[tunnelbroker] Implement AMQP reconnect on channel access

Summary:
When retrieving a channel, check connection status and reconnect if needed.
It should be performed once. If multiple tasks want to retrieve a channel, they wait for reconnection result. This is ensured by the RwLock

Depends on D13601

Test Plan: Tested together with the rest of the stack on staging and commtest (example test plan in D13595)

Reviewers: kamil, varun, will

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D13603

Details

Provenance
bartekAuthored on Thu, Oct 3, 12:37 PM
Reviewer
kamil
Differential Revision
D13603: [tunnelbroker] Implement AMQP reconnect on channel access
Parents
rCOMM0018440a6003: [tunnelbroker] Create thread-safe wrapper over AMQP connection
Branches
Unknown
Tags
Unknown