Skip to content

Commit

Permalink
Merge pull request #35 from tokers/doc/timeout_in_heartbeat
Browse files Browse the repository at this point in the history
doc: marked send_timeout/read_timout are not used during heartbeat.
  • Loading branch information
huangnauh authored Mar 26, 2018
2 parents 8ee99fc + aca379a commit de8a24f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ Cluster configurations
* `mysql`: Heartbeat by mysql `db:connect`. [lua-resty-mysql](https://github.com/openresty/lua-resty-mysql) module is required.
* `http`: Heartbeat by HTTP request. You can setup customized HTTP request and response codes in `http_opts`.
* `timeout`: Connect timeout to upstream servers. Default is `5`.
* `read_timeout`: Read timeout to upstream servers. Default is equal to `timeout`.
* `send_timeout`: Write timeout to upstream servers. Default is equal to `timeout`.
* `read_timeout`: Read timeout to upstream servers (not used during heartbeating). Default is equal to `timeout`.
* `send_timeout`: Write timeout to upstream servers (not used during heartbeating). Default is equal to `timeout`.
* `http_opts`: HTTP heartbeat configurations. Only works for `typ="http"`.
* `query`: HTTP request to heartbeat.
* `statuses`: If the code returned by server is set to `false`, then the server is considered to be failing.
Expand Down

0 comments on commit de8a24f

Please sign in to comment.