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 2022/08/02 09:57:43 UTC

[GitHub] [apisix] SkyeYoung commented on a diff in pull request #7581: docs: add websocket rate limit example

SkyeYoung commented on code in PR #7581:
URL: https://github.com/apache/apisix/pull/7581#discussion_r935354436


##########
docs/en/latest/plugins/limit-conn.md:
##########
@@ -141,3 +141,76 @@ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f13
     }
 }'
 ```
+
+## Limit the rate of WebSocket connections
+
+Apache APISIX supports WebSocket proxy, we can use `limit-conn` plugin to limit the number of concurrent WebSocket connections.
+
+1. Create a Route and enable the WebSocket proxy and the `limit-conn` plugin.

Review Comment:
   ```suggestion
   1. Create a Route, enable the WebSocket proxy and the `limit-conn` plugin.
   ```
   
   too much `and`



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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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