diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-06-27 21:45:29 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-06-27 21:46:51 +0100 |
commit | ce71a662f977c9dd3790c62620ebd0568276b05f (patch) | |
tree | 9543f0e4f27932a1bbafcf073ce7f2d88c51224a /src/main.rs | |
parent | 9c4df3969e21b2d82d34e379b05d2d7ae2e8c29f (diff) | |
download | mqttr-master.tar.gz mqttr-master.tar.xz mqttr-master.zip |
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index bc59b0b..0ba13f4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,7 +75,7 @@ async fn main() -> anyhow::Result<()> { let (client, mut event_loop) = conf.mqtt_client(); for topic in conf.routes.keys() { // TODO: Configurable subscription QoS - if let Err(e) = client.subscribe(topic, QoS::AtMostOnce).await { + if let Err(e) = client.subscribe(topic, QoS::ExactlyOnce).await { eprintln!("warning: Failed to subscribe to '{topic}': {e:?}"); } } |