浏览代码

Merge pull request #654 from robszumski/timeout-docs

feat(docs): document peer timeout flag and env var
Brandon Philips 11 年之前
父节点
当前提交
140329d927
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Documentation/configuration.md

+ 2 - 0
Documentation/configuration.md

@@ -38,6 +38,7 @@ configuration files.
 * `-peer-ca-file` - The path of the CAFile. Enables client/peer cert authentication when present.
 * `-peer-cert-file` - The cert file of the server.
 * `-peer-key-file` - The key file of the server.
+* `-peer-election-timeout` - The number of milliseconds to wait before the leader is declared unhealthy.
 * `-snapshot=false` - Disable log snapshots. Defaults to `true`.
 * `-v` - Enable verbose logging. Defaults to `false`.
 * `-vv` - Enable very verbose logging. Defaults to `false`.
@@ -102,3 +103,4 @@ key_file = ""
  * `ETCD_PEER_CA_FILE`
  * `ETCD_PEER_CERT_FILE`
  * `ETCD_PEER_KEY_FILE`
+ * `ETCD_PEER_ELECTION_TIMEOUT`