Skip to content

Commit

Permalink
Increasing max number of messages in JSON payload to 20 (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoseperez committed Feb 26, 2018
1 parent d6b26e7 commit f0b799b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/espurna/config/general.h
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ PROGMEM const char* const custom_reset_string[] = {

#define MQTT_USE_JSON 0 // Group messages in a JSON body
#define MQTT_USE_JSON_DELAY 100 // Wait this many ms before grouping messages
#define MQTT_QUEUE_MAX_SIZE 10 // Size of the MQTT queue when MQTT_USE_JSON is enabled
#define MQTT_QUEUE_MAX_SIZE 20 // Size of the MQTT queue when MQTT_USE_JSON is enabled

// These are the properties that will be sent when useJson is true
#ifndef MQTT_ENQUEUE_IP
Expand Down

0 comments on commit f0b799b

Please sign in to comment.