mirror of
https://github.com/csehviktor/status-monitor.git
synced 2025-08-08 18:06:14 +02:00
add mqtt starter line
This commit is contained in:
@@ -22,6 +22,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
|
||||
let clients = Clients::default();
|
||||
|
||||
println!("starting mqtt broker on specified port");
|
||||
tokio::spawn(async move {
|
||||
if let Err(err) = broker.start() {
|
||||
eprintln!("broker exited with error: {:?}", err);
|
||||
|
||||
Reference in New Issue
Block a user