diff --git a/source/client/src/clientEnv.c b/source/client/src/clientEnv.c index 4eb6eb04586cf80e2a9bfb28174e1e492f1b8f48..6f1414b72d8a3ede9752be1c4fa4594c547a7165 100644 --- a/source/client/src/clientEnv.c +++ b/source/client/src/clientEnv.c @@ -148,10 +148,10 @@ void *openTransporter(const char *user, const char *auth, int32_t numOfThread) { rpcInit.dfp = destroyAhandle; rpcInit.retryLimit = tsRpcRetryLimit; rpcInit.retryInterval = tsRpcRetryInterval; - rpcInit.retryMinInterval = 100; - rpcInit.retryStepFactor = 5; - rpcInit.retryMaxInterval = 10240; - rpcInit.retryMaxTimouet = 20480; + rpcInit.retryMinInterval = tsRedirectPeriod; + rpcInit.retryStepFactor = tsRedirectFactor; + rpcInit.retryMaxInterval = tsRedirectMaxPeriod; + rpcInit.retryMaxTimouet = tsMaxRetryWaitTime; void *pDnodeConn = rpcOpen(&rpcInit); if (pDnodeConn == NULL) {