diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index 62ae2cd7098b74a5b5c9d024a116d1f47851c6cd..64bd474ac4a904afbc7e3f5536726852f59ab75c 100644 --- a/src/client/src/tscSystem.c +++ b/src/client/src/tscSystem.c @@ -88,7 +88,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 = 2000; + rpcInit.idleTime = tsShellActivityTimer * 1000; rpcInit.ckey = "key"; rpcInit.spi = 1; rpcInit.secret = (char *)secretEncrypt;