Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3337823
D13609.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
744 B
Referenced Files
None
Subscribers
None
D13609.diff
View Options
diff --git a/services/tunnelbroker/src/amqp.rs b/services/tunnelbroker/src/amqp.rs
--- a/services/tunnelbroker/src/amqp.rs
+++ b/services/tunnelbroker/src/amqp.rs
@@ -56,21 +56,6 @@
}
}
-pub async fn connect() -> lapin::Connection {
- let conn = create_connection()
- .await
- .expect("Unable to connect to AMQP. Exiting.");
- conn.on_error(|error| {
- tracing::error!(
- errorType = error_types::AMQP_ERROR,
- "Lapin error: {error:?}"
- );
- });
-
- info!("Connected to AMQP endpoint: {}", &CONFIG.amqp_uri);
- conn
-}
-
/// Inner connection that is a direct wrapper over [`lapin::Connection`]
/// This should be instantiated only once to establish connection
/// New instances can be created to reconnect
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 5:13 PM (17 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2563093
Default Alt Text
D13609.diff (744 B)
Attached To
Mode
D13609: [tunnelbroker] Remove legacy AMQP connect function
Attached
Detach File
Event Timeline
Log In to Comment