fix taos 100% cpu usage

This commit is contained in:
hzcheng 2020-03-31 17:30:18 +08:00
parent 01682c4da9
commit 85ce67bbf4
1 changed files with 1 additions and 0 deletions

View File

@ -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;