Files
notes_estom/yitao.json
法然 dd11a44b1f shell
2022-10-03 00:08:52 +08:00

29 lines
901 B
JSON

{
"desc": "接口限流",
"resourceType": "METHOD",
"runMode": "CONTROL",
"limitStrategy": "QpsLimiter",
"actionConfig": {
"actionType": "LIMIT_EXCEPTION",
"responseContent": "触发限流规则"
},
"calculationConfigs": [
{
"calculationType": "INVOKE_BY_TIME",
"period": "1000",
"maxAllow": "10",
"trafficType": "ALL"
}
],
"resourceConfigs": [
{
"interface": "com.alipay.yit.rule",
"method": "updataRule",
"paramRelation": "AND",
"baseName": "com.alipay.yit.rule.updataRule",
"resourceType": "METHOD"
}
]
}