add 增加 集群限流功能

This commit is contained in:
疯狂的狮子li
2021-09-17 17:22:45 +08:00
parent 30fe14c0ff
commit dcaeb18870
2 changed files with 28 additions and 7 deletions

View File

@ -16,5 +16,10 @@ public enum LimitType
/**
* 根据请求者IP进行限流
*/
IP
IP,
/**
* 实例限流(集群多后端实例)
*/
CLUSTER
}