Skip to content

Commit

Permalink
Merge pull request #5977 from taosdata/hotfix/TD-3994
Browse files Browse the repository at this point in the history
[TD-3994] avoid rpc failure
  • Loading branch information
hjxilinx authored May 1, 2021
2 parents a915c29 + 7f75b28 commit c3f8ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/src/rpcMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ void *rpcOpen(const SRpcInit *pInit) {
return NULL;
}
} else {
pRpc->pCache = rpcOpenConnCache(pRpc->sessions, rpcCloseConn, pRpc->tmrCtrl, pRpc->idleTime * 30);
pRpc->pCache = rpcOpenConnCache(pRpc->sessions, rpcCloseConn, pRpc->tmrCtrl, pRpc->idleTime * 20);
if ( pRpc->pCache == NULL ) {
tError("%s failed to init connection cache", pRpc->label);
rpcClose(pRpc);
Expand Down

0 comments on commit c3f8ca1

Please sign in to comment.