From 7a5ea90cba7e40e2c9cc9d18fe240c466436c26e Mon Sep 17 00:00:00 2001 From: slguan Date: Thu, 12 Sep 2019 16:01:47 +0800 Subject: [PATCH] fix issue #505 --- src/util/src/tglobalcfg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/src/tglobalcfg.c b/src/util/src/tglobalcfg.c index f9ace3090f..007777a2fd 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); -- GitLab