提交 a46e7792 编写于 作者: Y Yitao CHI

[TS-1383]<fix>(common): Correct the unit type of tcpConnTimeout and syncCheckInterval to ms.

上级 590f2679
......@@ -644,7 +644,7 @@ static void doInitGlobalConfig(void) {
cfg.minValue = 1;
cfg.maxValue = 10000;
cfg.ptrLength = 0;
cfg.unitType = TAOS_CFG_UTYPE_SECOND;
cfg.unitType = TAOS_CFG_UTYPE_MS;
taosInitConfigOption(cfg);
cfg.option = "syncCheckInterval";
......@@ -654,7 +654,7 @@ static void doInitGlobalConfig(void) {
cfg.minValue = 1;
cfg.maxValue = 10000;
cfg.ptrLength = 0;
cfg.unitType = TAOS_CFG_UTYPE_SECOND;
cfg.unitType = TAOS_CFG_UTYPE_MS;
taosInitConfigOption(cfg);
cfg.option = "balance";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册