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/03 13:30:32 UTC

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

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



##########
File path: FAQ.md
##########
@@ -297,3 +297,26 @@ 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.

Review comment:
       need a blank line after the title

##########
File path: FAQ.md
##########
@@ -299,13 +299,14 @@ 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, set `0` to disable timeout.
+The `timeout` parameter indicates the connection `timeout` seconds between the calling process and etcd.

Review comment:
       Do we need to update the Chinese version.




----------------------------------------------------------------
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