mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-25 16:17:56 +01:00
Don't default to MQTT 3.1 either
This commit is contained in:
parent
337e8aa563
commit
a7d30930ba
@ -145,7 +145,6 @@ pub fn load(log: &Logger, config: &Config) -> Result<(ActorMap, Vec<Actor>)> {
|
||||
});
|
||||
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)?;
|
||||
|
Loading…
Reference in New Issue
Block a user