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