Bool opts and config modification

This commit is contained in:
adi
2022-09-22 17:22:50 +03:00
committed by Dan Christian Bogos
parent 6b7afc196d
commit 70fa4f7a2b
4 changed files with 29 additions and 11 deletions

View File

@@ -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
},

View File

@@ -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"},
],
}, */
},
},
}