mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
remove references to cluster.poll-interval
This commit is contained in:
parent
f49b2f9b99
commit
2f6c4509c2
3 changed files with 1 additions and 16 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ bind = "localhost:10101"
|
|||
max-writes-per-request = 5000
|
||||
|
||||
[cluster]
|
||||
poll-interval = "2m0s"
|
||||
replicas = 1
|
||||
hosts = [
|
||||
"localhost:10101",
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue