diff --git a/src/apps/mesh/cmd_sync.cpp b/src/apps/mesh/cmd_sync.cpp index 3a7255e..b13d937 100644 --- a/src/apps/mesh/cmd_sync.cpp +++ b/src/apps/mesh/cmd_sync.cpp @@ -37,7 +37,7 @@ void cmd_sync(const std::vector &subArgs) { std::string dir = args["--dir"] ? args["--dir"].asString() : "both"; if (dir != "both" && dir != "up" && dir != "down" && dir != "none") throw herr("invalid direction: ", dir, ". Should be one of both/up/down/none"); - uint64_t frameSizeLimit = 0; + uint64_t frameSizeLimit = 60'000; // default frame limit is 128k. Halve that (hex encoding) and subtract a bit (JSON msg overhead) if (args["--frame-size-limit"]) frameSizeLimit = args["--frame-size-limit"].asLong(); const uint64_t idSize = 16;