mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fix typo (parralel->parallel) master
This commit is contained in:
committed by
Dan Christian Bogos
parent
43721ff0df
commit
cf217e183f
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user