Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
etcdserver: add timeout param on getClusterFromRemotePeers
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.
- Loading branch information