summaryrefslogtreecommitdiffstats
path: root/roles/etcd
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-08-05 16:49:50 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-08-05 16:49:50 -0400
commitbf01e8911fa875250856d5d554da0cb779195fa8 (patch)
tree4bd88a4190fc077bf79cc3023dd5312f9cba931b /roles/etcd
parentc76ded1fd1c67059086a18b3af28190aa8c641f2 (diff)
parentad6a70ebdb5bfd0fad4609b57ace2d27be301cc3 (diff)
downloadopenshift-bf01e8911fa875250856d5d554da0cb779195fa8.tar.gz
openshift-bf01e8911fa875250856d5d554da0cb779195fa8.tar.bz2
openshift-bf01e8911fa875250856d5d554da0cb779195fa8.tar.xz
openshift-bf01e8911fa875250856d5d554da0cb779195fa8.zip
Merge pull request #427 from sdodson/500ms-heartbeat
Reduce heartbeat frequency to 500ms to reduce etcd cpu load
Diffstat (limited to 'roles/etcd')
-rw-r--r--roles/etcd/templates/etcd.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/etcd/templates/etcd.conf.j2 b/roles/etcd/templates/etcd.conf.j2
index 801be2c97..9ac23b1dd 100644
--- a/roles/etcd/templates/etcd.conf.j2
+++ b/roles/etcd/templates/etcd.conf.j2
@@ -16,8 +16,8 @@ ETCD_NAME=default
{% endif %}
ETCD_DATA_DIR={{ etcd_data_dir }}
#ETCD_SNAPSHOT_COUNTER="10000"
-#ETCD_HEARTBEAT_INTERVAL="100"
-#ETCD_ELECTION_TIMEOUT="1000"
+ETCD_HEARTBEAT_INTERVAL="500"
+ETCD_ELECTION_TIMEOUT="2500"
ETCD_LISTEN_CLIENT_URLS={{ etcd_listen_client_urls }}
#ETCD_MAX_SNAPSHOTS="5"
#ETCD_MAX_WALS="5"