From 8f6297f0ca7886d4ce1b39fc9092880b21b23fbc Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Fri, 5 Feb 2021 21:36:01 +0000 Subject: [PATCH] revert code --- src/client/src/tscSystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index d8c986e550..7a685c9f56 100644 --- a/src/client/src/tscSystem.c +++ b/src/client/src/tscSystem.c @@ -87,7 +87,7 @@ int32_t tscAcquireRpc(const char *key, const char *user, const char *secretEncry rpcInit.sessions = tsMaxConnections; rpcInit.connType = TAOS_CONN_CLIENT; rpcInit.user = (char *)user; - rpcInit.idleTime = 2 * 1000; + rpcInit.idleTime = tsShellActivityTimer * 1000;; rpcInit.ckey = "key"; rpcInit.spi = 1; rpcInit.secret = (char *)secretEncrypt; -- GitLab