You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/04 02:05:27 UTC

[GitHub] [apisix] idbeta commented on a change in pull request #2605: docs: sync English version

idbeta commented on a change in pull request #2605:
URL: https://github.com/apache/apisix/pull/2605#discussion_r517057884



##########
File path: FAQ.md
##########
@@ -297,3 +297,27 @@ By default, APISIX only listens on port 9080 when handling HTTP requests. If you
     ```
 
 2. Reload or restart APISIX
+
+## How does APISIX use etcd to achieve millisecond-level configuration synchronization
+
+Etcd provides interfaces `wait` and `waitdir` to monitor whether the specified keywords and directories have changed, and return updated data if they have any changes.
+
+Take the `waitdir` interface as an example:
+
+`syntax: res, err = cli:waitdir(dir:string [, modified_index:uint [, timeout:uint] ])`
+
+The `timeout` parameter indicates the connection `timeout` seconds between the calling process and etcd.
+
+APISIX configuration of etcd long connection time is as follows:

Review comment:
       my apology, already fixed.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org