Skip to content

Commit

Permalink
[TD-3994] avoid rpc failure
Browse files Browse the repository at this point in the history
  • Loading branch information
yihaoDeng committed Apr 30, 2021
1 parent 2670b0a commit 7f75b28
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 7f75b28

Please sign in to comment.