mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 07:38:45 +05:00
Bool opts and config modification
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
|
||||
"general": {
|
||||
"node_id": "DispatcherOpts",
|
||||
"node_id": "HOST1",
|
||||
"log_level": 7,
|
||||
},
|
||||
|
||||
@@ -36,6 +36,10 @@
|
||||
},
|
||||
|
||||
"caches":{
|
||||
"partitions": {
|
||||
"*dispatcher_routes": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false}, // control dispatcher routes caching
|
||||
"*dispatchers": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false}, // control dispatcher interface
|
||||
},
|
||||
"remote_conns": ["gob_cache"], // the conns that are queried when the items are not found in cache
|
||||
},
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
|
||||
"general": {
|
||||
"node_id": "DispatcherOpts_Admin",
|
||||
"node_id": "HOST2",
|
||||
"log_level": 7,
|
||||
},
|
||||
|
||||
@@ -30,12 +30,16 @@
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
"caches":{
|
||||
//"remote_conns": ["gob_cache"], // the conns that are queried when the items are not found in cache
|
||||
},
|
||||
|
||||
"caches":{
|
||||
"partitions": {
|
||||
"*dispatcher_routes": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false}, // control dispatcher routes caching
|
||||
"*dispatchers": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false}, // control dispatcher interface
|
||||
},
|
||||
"remote_conns": ["gob_cache"], // the conns that are queried when the items are not found in cache
|
||||
},
|
||||
|
||||
|
||||
"admins": {
|
||||
"enabled": true,
|
||||
@@ -50,11 +54,12 @@
|
||||
{"address": "127.0.0.1:4012", "transport":"*json"},
|
||||
],
|
||||
},
|
||||
/* "gob_cache": {
|
||||
"gob_cache": {
|
||||
"strategy": "*first",
|
||||
"conns": [
|
||||
{"address": "127.0.0.1:4012", "transport":"*gob"},
|
||||
{"address": "127.0.0.1:4013", "transport":"*gob"},
|
||||
],
|
||||
}, */
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user