Skip to content

request help: How to current limit both in minutes and day by using plugin limit-count #6197

Description

@123libohan

Issue description

How to current limit both in minutes and day by using plugin limit-count?
current,the plugin limit-count only Set a traffic limiting mode, Second or minute,If I want to set seconds and minutes at the same time,plugin not support,Because what you set later overwrites what you set earlier,Is there a better solution to this problem?thank you

Environment

  • apisix version (cmd: apisix version): 2.11
  • OS (cmd: uname -a): centOS7
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V): 1.19.9.1
  • etcd version, if have (cmd: run curl http://127.0.0.1:9090/v1/server_info to get the info from server-info API):
  • apisix-dashboard version, if have:
  • the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
  • luarocks version, if the issue is about installation (cmd: luarocks --version):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions