From d7a69e1f68b473ea24433f977c867795cd99b64b Mon Sep 17 00:00:00 2001 From: Fred Clausen <43556888+fredclausen@users.noreply.github.com> Date: Sat, 6 Jan 2024 19:09:05 -0700 Subject: [PATCH] remove acars topic from zmq --- Cargo.lock | 3 ++- rust/libraries/acars_connection_manager/src/zmq_services.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6b6b2d5..5495383e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -923,7 +923,8 @@ dependencies = [ [[package]] name = "sdre-stubborn-io" version = "0.5.0" -source = "git+https://github.com/sdr-enthusiasts/sdre-stubborn-io?branch=fix-io-disconnect#97047ad67f8295cf3951b1f373dcb55ec68f622f" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8068568d9847745320064f4bf57b44c6c0a44926c112cf80b71d8bc420b5d237" dependencies = [ "log", "rand", diff --git a/rust/libraries/acars_connection_manager/src/zmq_services.rs b/rust/libraries/acars_connection_manager/src/zmq_services.rs index 593a14a9..81a2997f 100644 --- a/rust/libraries/acars_connection_manager/src/zmq_services.rs +++ b/rust/libraries/acars_connection_manager/src/zmq_services.rs @@ -159,7 +159,7 @@ impl SenderServer { // if they aren't sub'd to the topic we're broadcasting on. This should fix the issue with moronic (hello node) // zmq implementations not getting the message if the topic is blank. // TODO: verify this doesn't break other kinds of zmq implementations....Like perhaps acars_router itself? - Ok(payload) => match self.socket.send(vec!["acars", &payload]).await { + Ok(payload) => match self.socket.send(vec![&payload]).await { Ok(_) => (), Err(e) => error!( "[ZMQ SENDER]: Error sending message on 'acars' topic: {:?}",