diff --git a/README.md b/README.md index e536655..8d2acb8 100644 --- a/README.md +++ b/README.md @@ -264,8 +264,15 @@ otherwise you will get errors on start because of JSON comments.** "endpoint": "127.0.0.1:6379", "poolSize": 10, "database": 0, - "password": "" - }, + "password": "", + "sentinelEnabled": false, + "masterName": "mymaster", + "sentinelAddrs": [ + "127.0.0.1:26379", + "127.0.0.1:26389", + "127.0.0.1:26399" + ] + }, "exchange": { "enabled": true, diff --git a/api.json b/api.json index 22e57a3..98313ec 100644 --- a/api.json +++ b/api.json @@ -2,7 +2,7 @@ "threads": 4, "coin": "etc", "name": "main", - "pplns": 9000, + "pplns": 9000, "network": "classic", "coin-name":"etc", @@ -27,8 +27,8 @@ "timeout": "120s", "maxConn": 8192, "tls": false, - "certFile": "/path/to/cert.pem", - "keyFile": "/path/to/key.pem" + "certFile": "/path/to/cert.pem", + "keyFile": "/path/to/key.pem" }, "policy": { @@ -68,11 +68,11 @@ "poolCharts":"*/20 * * * *", "poolChartsNum":74, "minerCharts":"*/20 * * * *", - "minerChartsNum":74, - "netCharts":"*/20 * * * *", - "netChartsNum":74, - "shareCharts":"*/20 * * * *", - "shareChartsNum":74 + "minerChartsNum":74, + "netCharts":"*/20 * * * *", + "netChartsNum":74, + "shareCharts":"*/20 * * * *", + "shareChartsNum":74 }, "upstreamCheckInterval": "5s", @@ -94,12 +94,12 @@ "poolSize": 10, "database": 0, "password": "", - "sentinelEnabled": false, - "masterName": "mymaster", - "sentinelAddrs": [ - "127.0.0.1:26379", - "127.0.0.1:26389", - "127.0.0.1:26399" + "sentinelEnabled": false, + "masterName": "mymaster", + "sentinelAddrs": [ + "127.0.0.1:26379", + "127.0.0.1:26389", + "127.0.0.1:26399" ] },