From 22e0f242c63a184224183c021f2d0234f4e883bc Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Wed, 17 Nov 2021 20:22:08 +0800 Subject: [PATCH] [TS-58]: default compressMsgSize to 512k instead of -1 --- src/common/src/tglobal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index c93824ff35..946e1963fb 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -74,7 +74,7 @@ int32_t tsMaxBinaryDisplayWidth = 30; * -1: all data are not compressed * other values: if the message payload size is greater than the tsCompressMsgSize, the message will be compressed. */ -int32_t tsCompressMsgSize = -1; +int32_t tsCompressMsgSize = 512 * 1024; // client int32_t tsMaxSQLStringLen = TSDB_MAX_ALLOWED_SQL_LEN; -- GitLab