mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Increase jsonl line buffer
This commit is contained in:
parent
647d1bc1f2
commit
4feaf10f64
@ -519,7 +519,7 @@ void dispatch_parse_jsonl(std::istringstream & stream)
|
||||
{
|
||||
uint8_t savedPage = haspGetPage();
|
||||
size_t line = 1;
|
||||
DynamicJsonDocument jsonl(4 * 128u); // max ~256 characters per line
|
||||
DynamicJsonDocument jsonl(MQTT_MAX_PACKET_SIZE / 2); // max ~256 characters per line
|
||||
DeserializationError err = deserializeJson(jsonl, stream);
|
||||
stream.setTimeout(25);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user