Update mesh heartbeat MQTT topic.

This commit is contained in:
Orne Brocaar 2024-06-25 13:57:13 +01:00
parent 68473906c9
commit d25cc3ca6d

View File

@ -414,10 +414,10 @@ async fn message_callback(
set_gateway_json(&event.gateway_id, json);
tokio::spawn(downlink::tx_ack::TxAck::handle(event));
} else if topic.ends_with("/mesh-stats") {
} else if topic.ends_with("/mesh-heartbeat") {
EVENT_COUNTER
.get_or_create(&EventLabels {
event: "mesh-stats".to_string(),
event: "mesh-heartbeat".to_string(),
})
.inc();
let event = match json {