diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index c594e047152313cb0a1554ee6e2fe5b43e4541b1..2db28970366c39acebf72670551b1e9b276f8705 100644 --- a/src/client/src/tscSystem.c +++ b/src/client/src/tscSystem.c @@ -71,6 +71,7 @@ int32_t tscInitRpc(const char *user, const char *secret) { rpcInit.sessions = tsMaxVnodeConnections; rpcInit.connType = TAOS_CONN_CLIENT; rpcInit.user = (char*)user; + rpcInit.idleTime = 2000; rpcInit.ckey = "key"; rpcInit.secret = secretEncrypt;