From aca379afd4e91825619a497cca64d0b2e7aff9bd Mon Sep 17 00:00:00 2001 From: tokers Date: Sun, 25 Mar 2018 22:43:49 +0800 Subject: [PATCH] doc: marked send_timeout/read_timout are not used during heartbeat. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6356681..ae74135 100644 --- a/README.md +++ b/README.md @@ -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.