Skip to content

Commit

Permalink
better mqtt client name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordy F committed Nov 10, 2024
1 parent 733410e commit 31b24c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub struct RunArgs {

impl RunArgs {
pub async fn run(self: RunArgs, mut pid: Pid<f32>) -> Result<(), Box<dyn std::error::Error>> {
let mut mqttoptions = MqttOptions::new("mqtt", self.mqtt_host, self.mqtt_port);
let mut mqttoptions = MqttOptions::new("mqtt_pid", self.mqtt_host, self.mqtt_port);
mqttoptions.set_keep_alive(Duration::from_secs(5));
mqttoptions.set_max_packet_size(2000, 1000);

Expand Down

0 comments on commit 31b24c0

Please sign in to comment.