fix: amqprs startup bug (#744)
This commit is contained in:
2 files changed
+18
-13
No files matched your search
@@ -119,7 +119,7 @@ pub async fn web() -> Rocket<Build> {
|
||||
.await
|
||||
.expect("Failed to declare exchange");
|
||||
|
||||
let amqp = AMQP::new(connection, channel);
|
||||
let mut amqp = AMQP::new(connection, channel);
|
||||
amqp.configure_channels()
|
||||
.await
|
||||
.expect("Failed to configure channels");
|
||||
|
||||
Reference in new issue
Block a user