diff --git a/config/generalcfg.go b/config/generalcfg.go index 9ef0c4e77..1d7bee0e9 100644 --- a/config/generalcfg.go +++ b/config/generalcfg.go @@ -49,7 +49,7 @@ type GeneralCfg struct { DigestSeparator string // DigestEqual string // RSRSep string // separator used to split RSRParser (by default is used ";") - MaxParallelConns int // the maximum number of connection used by the *parallel strategy + MaxParallelConns int // the maximum number of connections used by the *parallel strategy } // loadFromJSONCfg loads General config from JsonCfg diff --git a/engine/connmanager.go b/engine/connmanager.go index a6cdcba61..d2ab7db08 100644 --- a/engine/connmanager.go +++ b/engine/connmanager.go @@ -86,7 +86,7 @@ func (cM *ConnManager) getConnWithConfig(connID string, connCfg *config.RPCConn, biRPCClient rpcclient.BiRPCConector, intChan chan rpcclient.ClientConnector, isInternalRPC bool) (conn rpcclient.ClientConnector, err error) { if connCfg.Strategy == rpcclient.PoolParallel { - rpcConnCfg := connCfg.Conns[0] // for parrallel we need only the first connection + rpcConnCfg := connCfg.Conns[0] // for parallel we need only the first connection codec := rpcclient.GOBrpc switch { case rpcConnCfg.Address == rpcclient.InternalRPC: