Added new default fields for rpc_conns in config_defaults.go

This commit is contained in:
nickolasdaniel
2021-07-22 10:36:30 +03:00
committed by Dan Christian Bogos
parent 4aaa2311ee
commit 82455f6437

View File

@@ -66,7 +66,20 @@ const CGRATES_CFG_JSON = `
"rpc_conns": {
//"*localhost": {
//"conns": [{"address": "127.0.0.1:2012", "transport":"*json",}],
//"conns": [
//{
//"address": "127.0.0.1:2012",
//"transport":"*json",
//"connect_attempts": 5,
//"reconnects": -1,
//"connect_timeout":"1s",
//"reply_timeout":"2s",
//"tls":false,
//"client_key":"",
//"client_certificate":"",
//"ca_certificate":""
//}
//],
//},
}, // rpc connections definitions