Commits

Roger Light committed 4c0e908

Change "$SYS/broker/heap/current size" to "$SYS/broker/heap/current" for
easier parsing.
Change "$SYS/broker/heap/maximum size" to "$SYS/broker/heap/maximum" for
easier parsing.

  • Participants
  • Parent commits 54ded11
  • Branches 1.3

Comments (0)

Files changed (2)

 - When remapping bridged topics, only check for matches when the message
   direction is correct. This allows two identical topics to be remapped
   differently for both in and out.
+- Change "$SYS/broker/heap/current size" to "$SYS/broker/heap/current" for
+  easier parsing.
+- Change "$SYS/broker/heap/maximum size" to "$SYS/broker/heap/maximum" for
+  easier parsing.
 
 Client library:
 - Fix support for Python 2.6, 3.0, 3.1.
 	if(current_heap != value_ul){
 		current_heap = value_ul;
 		snprintf(buf, BUFLEN, "%lu", current_heap);
-		mqtt3_db_messages_easy_queue(db, NULL, "$SYS/broker/heap/current size", 2, strlen(buf), buf, 1);
+		mqtt3_db_messages_easy_queue(db, NULL, "$SYS/broker/heap/current", 2, strlen(buf), buf, 1);
 	}
 	value_ul =_mosquitto_max_memory_used();
 	if(max_heap != value_ul){
 		max_heap = value_ul;
 		snprintf(buf, BUFLEN, "%lu", max_heap);
-		mqtt3_db_messages_easy_queue(db, NULL, "$SYS/broker/heap/maximum size", 2, strlen(buf), buf, 1);
+		mqtt3_db_messages_easy_queue(db, NULL, "$SYS/broker/heap/maximum", 2, strlen(buf), buf, 1);
 	}
 }
 #endif