From 2f6c4509c287952fc06dc49aa99c670bc180b649 Mon Sep 17 00:00:00 2001 From: Travis Turner Date: Mon, 30 Oct 2017 09:20:09 -0500 Subject: [PATCH] remove references to cluster.poll-interval --- cmd/root_test.go | 1 - ctl/generate_config.go | 1 - docs/configuration.md | 15 +-------------- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/cmd/root_test.go b/cmd/root_test.go index 93711a5a1..431d3a66f 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -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 = [ diff --git a/ctl/generate_config.go b/ctl/generate_config.go index 87f866bb8..151076ca8 100644 --- a/ctl/generate_config.go +++ b/ctl/generate_config.go @@ -43,7 +43,6 @@ bind = "localhost:10101" max-writes-per-request = 5000 [cluster] - poll-interval = "2m0s" replicas = 1 hosts = [ "localhost:10101", diff --git a/docs/configuration.md b/docs/configuration.md index 10325b09f..8bc241070 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -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.