diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index d8c986e5509e10ff9d17b8d66cb5083afde8cfdb..7a685c9f567548405dba3e42f73879b5f32706fe 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;