From cf217e183ff1fb0842f24df69ff14f1981fc095b Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Wed, 30 Jun 2021 09:48:46 +0300 Subject: [PATCH] Fix typo (parralel->parallel) master --- config/generalcfg.go | 2 +- engine/connmanager.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: