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 2021/04/19 08:02:55 UTC

[GitHub] [apisix] Firstsawyou commented on issue #4080: bug: limit-count 中 count 值未生效

Firstsawyou commented on issue #4080:
URL: https://github.com/apache/apisix/issues/4080#issuecomment-822262065


   > {
   >   "count": 2000,
   >   "disable": false,
   >   "key": "remote_addr",
   >   "policy": "local",
   >   "time_window": 1
   > }
   
   The value of the `time_window` field in the plug-in configuration is set to 1 second, you should try to set the `time_window` value larger. Because `time_window` represents the size of the time window (in seconds), the `count` will be reset after this time.


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