Files
cgrates/data/conf/samples/dispatcher_opts_host2/cgrates.json

52 lines
1.0 KiB
JSON

{
"general": {
"node_id": "HOST2",
"log_level": 7
},
"listen": {
"rpc_json": ":4012",
"rpc_gob": ":4013",
"http": ":4080"
},
"data_db": {
"db_type": "redis",
"db_port": 6379,
"db_name": "10"
},
"stor_db": {
"db_password": "CGRateS.org"
},
"dispatchers":{
"enabled": true,
"prevent_loop": true
},
"caches":{
"partitions": {
"*dispatcher_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false},
"*dispatcher_routes": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false},
"*dispatchers": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false}
},
//"replication_conns": ["gob_cache"],
"remote_conns": ["gob_cache"]
},
"apiers": {
"enabled": true
},
"rpc_conns": {
"gob_cache": {
"strategy": "*first",
"conns": [
{"address": "127.0.0.1:4013", "transport":"*gob"}
]
}
}
}