mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-02-20 17:12:48 +00:00
Update mesh heartbeat MQTT topic.
This commit is contained in:
parent
68473906c9
commit
d25cc3ca6d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user