mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
Update the config_defaults to be the same with v0.10
This commit is contained in:
committed by
Dan Christian Bogos
parent
758d944418
commit
d001ba2f99
@@ -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
|
||||
},
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
// },
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user