Skip to content
Snippets Groups Projects
Commit 38206eaa authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Publishing client_count to the wrong topic

parent b32f2633
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ static void update_clients()
if(startup != NULL) {
if(startup->clients != NULL)
startup->clients(startup->cbdata,protected_uint32_value(node_threads_running));
mqtt_pub_uintval(&startup->mqtt, TOPIC_HOST, "client_count", protected_uint32_value(node_threads_running));
mqtt_pub_uintval(&startup->mqtt, TOPIC_SERVER, "client_count", protected_uint32_value(node_threads_running));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment