Skip to content

Commit

Permalink
[MQTT] Develop some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVyM committed Dec 9, 2023
1 parent 9b44b33 commit 2c1235f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub struct LoggerRessources {
}

static mut QUEUE_MESSAGE: Vec<LoggerRessources> = Vec::new();

// NOTE: Implement sync for the derive Component
// Could be useful to find a better solution
unsafe impl Sync for ClientConnection {}
Expand Down Expand Up @@ -80,7 +81,6 @@ pub fn send_mqtt_message(
.publish(channel_name, qos, true, current_log.message.clone())
.unwrap();
thread::sleep(Duration::from_millis(100));
// TODO: Despawn
item.1.iter().next();
}
}
Expand Down

0 comments on commit 2c1235f

Please sign in to comment.