enable compress by default
This commit is contained in:
parent
aa88942c38
commit
3426128c2c
|
@ -69,7 +69,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 = 16 * 1048576;
|
||||
|
||||
// client
|
||||
int32_t tsMaxSQLStringLen = TSDB_MAX_ALLOWED_SQL_LEN;
|
||||
|
@ -921,7 +921,7 @@ static void doInitGlobalConfig(void) {
|
|||
cfg.valType = TAOS_CFG_VTYPE_INT32;
|
||||
cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_CLIENT | TSDB_CFG_CTYPE_B_SHOW;
|
||||
cfg.minValue = -1;
|
||||
cfg.maxValue = 10000000;
|
||||
cfg.maxValue = 10000000000.0f;
|
||||
cfg.ptrLength = 0;
|
||||
cfg.unitType = TAOS_CFG_UTYPE_NONE;
|
||||
taosInitConfigOption(cfg);
|
||||
|
|
Loading…
Reference in New Issue