We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ "cache": "", "count": { "key": "", "max": 5, "request_body_type": "json", "separator": "", "separator_type": "splite" }, "count_mode": "local", "counter": "", "counter_pusher": "", "key": "", "match": { "params": [{ "key": "", "kind": "int", "value": [""] }], "status_codes": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226] } } 这是我设置"次数扣减"的配置,按理说,请求5次就扣减完了。但实际上我每请求成功2、3次,后续请求就一直失败,响应返回“out of calls”,然后隔几秒又可以成功请求了,循环往复
{ "cache": "", "count": { "key": "", "max": 5, "request_body_type": "json", "separator": "", "separator_type": "splite" }, "count_mode": "local", "counter": "", "counter_pusher": "", "key": "", "match": { "params": [{ "key": "", "kind": "int", "value": [""] }], "status_codes": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226] } }
No response
out of calls
1.设置"次数扣减"的配置(全局) 2.调用api 3.每请求成功2、3次,后续请求就一直失败,响应返回“out of calls”,然后隔几秒又可以成功请求了,循环往复
apinto version
uname -a
The text was updated successfully, but these errors were encountered:
该问题已经修复,取消本地计数的方式,统一使用Redis计数模式,通过操作Redis对应key值,去增加对应的次数
Sorry, something went wrong.
Dot-Liu
No branches or pull requests
Current Behavior
{ "cache": "", "count": { "key": "", "max": 5, "request_body_type": "json", "separator": "", "separator_type": "splite" }, "count_mode": "local", "counter": "", "counter_pusher": "", "key": "", "match": { "params": [{ "key": "", "kind": "int", "value": [""] }], "status_codes": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226] } }
这是我设置"次数扣减"的配置,按理说,请求5次就扣减完了。但实际上我每请求成功2、3次,后续请求就一直失败,响应返回“out of calls”,然后隔几秒又可以成功请求了,循环往复
Expected Behavior
No response
Error Logs
out of calls
Steps to Reproduce
1.设置"次数扣减"的配置(全局)
2.调用api
3.每请求成功2、3次,后续请求就一直失败,响应返回“out of calls”,然后隔几秒又可以成功请求了,循环往复
Environment
apinto version
):v0.15.5uname -a
):centos7.9The text was updated successfully, but these errors were encountered: