Commits

Roger Light committed 93ec384

Fix max_inflight_messages and max_queued_messages not being applied.

Comments (0)

Files changed (2)

+1.0.6 - 201212xx
+================
+
+Broker:
+- Fix max_inflight_messages and max_queued_messages not being applied.
+
 1.0.5 - 20121103
 ================
 
 int mqtt3_config_read(mqtt3_config *config, bool reload)
 {
 	int rc = MOSQ_ERR_SUCCESS;
-	int max_inflight_messages = 20;
-	int max_queued_messages = 100;
 	struct config_recurse cr;
 	int i;
 
 		config->user = "mosquitto";
 	}
 
-	mqtt3_db_limits_set(max_inflight_messages, max_queued_messages);
+	mqtt3_db_limits_set(cr.max_inflight_messages, cr.max_queued_messages);
 
 #ifdef WITH_BRIDGE
 	for(i=0; i<config->bridge_count; i++){