Update the config_defaults to be the same with v0.10

This commit is contained in:
TeoV
2020-08-25 11:46:44 +03:00
committed by Dan Christian Bogos
parent 758d944418
commit d001ba2f99
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ const CGRATES_CFG_JSON = `
"rsr_separator": ";", // separator used within RSR fields
"max_parallel_conns": 100, // the maximum number of connection used by the *parallel strategy
"concurrent_requests": 0, // maximum concurrent request allowed ( 0 to disabled )
"concurrent_strategy": "*queue", // strategy in case in case of concurrent requests reached
"concurrent_strategy": "*busy", // strategy in case in case of concurrent requests reached
},

View File

@@ -63,7 +63,7 @@ func TestDfGeneralJsonCfg(t *testing.T) {
Rsr_separator: utils.StringPointer(";"),
Max_parallel_conns: utils.IntPointer(100),
Concurrent_requests: utils.IntPointer(0),
Concurrent_strategy: utils.StringPointer(utils.MetaQueue),
Concurrent_strategy: utils.StringPointer(utils.MetaBusy),
}
if gCfg, err := dfCgrJSONCfg.GeneralJsonCfg(); err != nil {
t.Error(err)

View File

@@ -32,7 +32,7 @@
// "rsr_separator": ";", // separator used within RSR fields
// "max_parallel_conns": 100, // the maximum number of connection used by the *parallel strategy
// "concurrent_requests": 0, // maximum concurrent request allowed ( 0 to disabled )
// "concurrent_strategy": "*queue", // strategy in case in case of concurrent requests reached
// "concurrent_strategy": "*busy", // strategy in case in case of concurrent requests reached
// },