Removed unused InternalTtl

This commit is contained in:
Tripon Alexandru-Ionut
2019-04-16 15:07:17 +03:00
committed by Dan Christian Bogos
parent 21c880e1da
commit bbc34b1f77
16 changed files with 38 additions and 88 deletions

View File

@@ -30,7 +30,7 @@ import (
func NewRPCPool(dispatchStrategy string, keyPath, certPath, caPath string, connAttempts, reconnects int,
connectTimeout, replyTimeout time.Duration, rpcConnCfgs []*config.RemoteHost,
internalConnChan chan rpcclient.RpcClientConnection, ttl time.Duration, lazyConnect bool) (*rpcclient.RpcClientPool, error) {
internalConnChan chan rpcclient.RpcClientConnection, lazyConnect bool) (*rpcclient.RpcClientPool, error) {
var rpcClient *rpcclient.RpcClient
var err error
rpcPool := rpcclient.NewRpcClientPool(dispatchStrategy, replyTimeout)