etcd/config
Brandon Philips 084dcb5596 etcd: add a read/write timeout to server
The default is for connections to last forever[1]. This leads to fds
leaking. I set the timeout so high by default so that watches don't have
to keep retrying but perhaps we should set it slower.

Tested on a cluster with lots of clients and it seems to have relieved
the problem.

[1] https://groups.google.com/forum/#!msg/golang-nuts/JFhGwh1q9xU/heh4J8pul3QJ
2014-07-07 11:42:56 -07:00
..
config.go etcd: add a read/write timeout to server 2014-07-07 11:42:56 -07:00
config_test.go etcd: add a read/write timeout to server 2014-07-07 11:42:56 -07:00
timeout.go chore: rename 'heartbeat timeout' to 'heartbeat interval' 2014-02-18 16:37:20 -08:00