https://github.com/etcd-io/etcd
Revision f3bfcb9deef2b950eff3d8a96fb7136916198ec4 authored by Yicheng Qin on 31 August 2015, 22:12:58 UTC, committed by Yicheng Qin on 01 September 2015, 15:49:01 UTC
It sets 10s timeout for public GetClusterFromRemotePeers. This helps the following cases to work well in high latency scenario: 1. proxy sync members from the cluster 2. newly-joined member sync members from the cluster Besides 10s request timeout, the request is also controlled by dial timeout and read connection timeout.
1 parent 57b39ac
Tip revision: f3bfcb9deef2b950eff3d8a96fb7136916198ec4 authored by Yicheng Qin on 31 August 2015, 22:12:58 UTC
etcdserver: add timeout param on getClusterFromRemotePeers
etcdserver: add timeout param on getClusterFromRemotePeers
Tip revision: f3bfcb9
File | Mode | Size |
---|---|---|
Documentation | ||
Godeps | ||
client | ||
discovery | ||
error | ||
etcdctl | ||
etcdctlv3 | ||
etcdmain | ||
etcdserver | ||
hack | ||
integration | ||
logos | ||
pkg | ||
proxy | ||
raft | ||
rafthttp | ||
scripts | ||
snap | ||
storage | ||
store | ||
tools | ||
version | ||
wal | ||
.dockerignore | -rw-r--r-- | 5 bytes |
.gitignore | -rw-r--r-- | 107 bytes |
.godir | -rw-r--r-- | 23 bytes |
.header | -rw-r--r-- | 589 bytes |
.travis.yml | -rw-r--r-- | 127 bytes |
CONTRIBUTING.md | -rw-r--r-- | 2.5 KB |
DCO | -rw-r--r-- | 1.4 KB |
Dockerfile | -rw-r--r-- | 47 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
MAINTAINERS | -rw-r--r-- | 157 bytes |
NOTICE | -rw-r--r-- | 126 bytes |
Procfile | -rw-r--r-- | 1.4 KB |
README.md | -rw-r--r-- | 4.6 KB |
ROADMAP.md | -rw-r--r-- | 1.2 KB |
build | -rwxr-xr-x | 761 bytes |
build.bat | -rw-r--r-- | 941 bytes |
cover | -rwxr-xr-x | 638 bytes |
main.go | -rw-r--r-- | 1.1 KB |
test | -rwxr-xr-x | 2.3 KB |
Computing file changes ...