Skip to content

Commit fce5e8b

Browse files
author
Gabriel Monroy
committed
Merge pull request #2663 from carmstrong/revert-etcd_timeout
Revert "fix(coreos): tune etcd to address high disk i/o environments"
2 parents 66833ac + 043f7e7 commit fce5e8b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

contrib/coreos/user-data.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ coreos:
88
addr: $private_ipv4:4001
99
peer-addr: $private_ipv4:7001
1010
# give etcd more time if it's under heavy load - prevent leader election thrashing
11-
peer-election-timeout: 5000
11+
peer-election-timeout: 2000
1212
# heartbeat interval should ideally be 1/4 or 1/5 of peer election timeout
13-
peer-heartbeat-interval: 1000
13+
peer-heartbeat-interval: 500
1414
fleet:
1515
# We have to set the public_ip here so this works on Vagrant -- otherwise, Vagrant VMs
1616
# will all publish the same private IP. This is harmless for cloud providers.
1717
public-ip: $private_ipv4
1818
# allow etcd to slow down at times
19-
etcd_request_timeout: 5
19+
etcd_request_timeout: 3
2020
units:
2121
- name: etcd.service
2222
command: start

0 commit comments

Comments
 (0)