From bdcf3bae67b9009f183da0461700d9e43ec481af Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Tue, 15 Feb 2022 18:28:58 +0100 Subject: [PATCH] Don't default to MQTT 3.1 either --- src/actor.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/actor.rs b/src/actor.rs index 07f6beb..34dab10 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -145,7 +145,6 @@ pub fn load(log: &Logger, config: &Config) -> Result<(ActorMap, Vec)> { }); let conn_opts = paho_mqtt::ConnectOptionsBuilder::new() .keep_alive_interval(Duration::from_secs(20)) - .clean_session(false) .finalize(); let tok = mqtt.connect(conn_opts); smol::block_on(tok)?;