fix: don't automatically set up rabbitmq in delta (#749)

fix: don't declare queues which seem to cause the backend to crash in prod
for now, these exchanges/queues/bindings will need to be declared manually. Hopefully the lapin rewrite will fix this.

Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>
This commit is contained in:
Tom
2026-05-15 12:17:36 -07:00
committed by GitHub
parent 8157e1f6e9
commit 7647cfc8d9
2 changed files with 4 additions and 4 deletions

View File

@@ -120,9 +120,9 @@ pub async fn web() -> Rocket<Build> {
.expect("Failed to declare exchange");
let mut amqp = AMQP::new(connection, channel);
amqp.configure_channels()
.await
.expect("Failed to configure channels");
// amqp.configure_channels()
// .await
// .expect("Failed to configure channels");
// Launch background task workers
revolt_database::tasks::start_workers(db.clone(), amqp.clone());