webbuffer 12k to reduce http:507 messages

This commit is contained in:
MichaelDvP
2022-12-23 10:59:41 +01:00
parent c1f39fbf57
commit b9b79bbd9a
3 changed files with 3 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ void WebDataService::sensor_data(AsyncWebServerRequest * request) {
// Compresses the JSON using MsgPack https://msgpack.org/index.html
void WebDataService::device_data(AsyncWebServerRequest * request, JsonVariant & json) {
if (json.is<JsonObject>()) {
auto * response = new MsgpackAsyncJsonResponse(false, EMSESP_JSON_SIZE_XXLARGE_DYN);
auto * response = new MsgpackAsyncJsonResponse(false, EMSESP_JSON_SIZE_XXXLARGE_DYN);
if (!response->getSize()) {
delete response;
response = new MsgpackAsyncJsonResponse(false, 256);