mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-12-22 19:53:49 +01:00
Don't default to MQTT 3.1 either
This commit is contained in:
parent
53f871ac49
commit
bdcf3bae67
@ -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