remove references to cluster.poll-interval

This commit is contained in:
Travis Turner 2017-10-30 09:20:09 -05:00
parent f49b2f9b99
commit 2f6c4509c2
No known key found for this signature in database
GPG key ID: 7F08008DFD9314C9
3 changed files with 1 additions and 16 deletions

View file

@ -181,7 +181,6 @@ func TestRootCommand_Config(t *testing.T) {
bind = "127.0.0.1:10101"
[cluster]
poll-interval = "2m0s"
replicas = 2
partitions = 128
hosts = [

View file

@ -43,7 +43,6 @@ bind = "localhost:10101"
max-writes-per-request = 5000
[cluster]
poll-interval = "2m0s"
replicas = 1
hosts = [
"localhost:10101",

View file

@ -27,10 +27,9 @@ Every command line flag has a corresponding environment variable. The environmen
### Config file
The config file is in the [toml format](https://github.com/toml-lang/toml) and has exactly the same options available as the flags and environment variables. Any flag which contains a dot (".") denotes nesting within the config file, so the two flags `--cluster.poll-interval=2m0s` and `--cluster.replicas=1` look like this in the config file:
The config file is in the [toml format](https://github.com/toml-lang/toml) and has exactly the same options available as the flags and environment variables. Any flag which contains a dot (".") denotes nesting within the config file, so the two flag `--cluster.replicas=1` looks like this in the config file:
```toml
[cluster]
poll-interval = "2m0s"
replicas = 1
```
@ -123,18 +122,6 @@ Any flag that has a value that is a comma separated list on the command line bec
hosts = ["localhost:10101"]
```
#### Cluster Poll Interval
* Description: Polling interval for cluster.
* Flag: `cluster.poll-interval="1m0s"`
* Env: `PILOSA_CLUSTER_POLL_INTERVAL="1m0s"`
* Config:
```toml
[cluster]
poll-interval = "1m0s"
```
#### Cluster Replicas
* Description: Number of hosts each piece of data should be stored on.