diff --git a/src/util/src/tglobalcfg.c b/src/util/src/tglobalcfg.c index f9ace3090fa36563e48cd68d83016b8857f9906f..007777a2fd29e24672fcbcf6742632193e2ef53f 100644 --- a/src/util/src/tglobalcfg.c +++ b/src/util/src/tglobalcfg.c @@ -535,6 +535,8 @@ void tsInitGlobalConfig() { 1, 1, TSDB_CFG_UTYPE_NONE); tsInitConfigOption(cfg++, "httpMaxThreads", &tsHttpMaxThreads, TSDB_CFG_VTYPE_INT, TSDB_CFG_CTYPE_B_CONFIG, 1, 1000000, 0, TSDB_CFG_UTYPE_NONE); + tsInitConfigOption(cfg++, "restfulRowLimit", &tsRestRowLimit, TSDB_CFG_VTYPE_INT, TSDB_CFG_CTYPE_B_CONFIG, 1, + 10000000, 0, TSDB_CFG_UTYPE_NONE); tsInitConfigOption(cfg++, "httpEnableCompress", &tsHttpEnableCompress, TSDB_CFG_VTYPE_INT, TSDB_CFG_CTYPE_B_CONFIG, 0, 1, 1, TSDB_CFG_UTYPE_NONE);