# 限流组件
#是否开启限流组件
# { "type" : "env", "value" : "false"}
weaver.limitCurrent.enable=true
# { "type" : "env", "value" : "true"}
weaver.limitCurrentForce.enable=true
# 2【限流条件】：定义多少秒以上的请求算是慢请求 默认5秒以上是慢请求
# { "type" : "env", "value" : "5"}
weaver.limitCurrent.overtime=5
# 3【限流条件】：慢请求超过多少个需要触发限流，默认20个
# { "type" : "env", "value" : "20"}
weaver.limitCurrent.httpCount=20
# 5 到达限流条件阈值之后 限流组件不会立即阻止请求，而是暂时缓冲请求一段时间（默认5秒）再放行 可缓冲的请求数量，默认50个
# { "type" : "env", "value" : "0"}
weaver.limitCurrent.sleepCount=0
# { "type" : "env", "value" : "true"}
weaver.limitCurrent.dubbo.enable=true
# { "type" : "env", "value" : "*"}
weaver.limitCurrent.dubbo.limitApi=*
# { "type" : "env", "value" : "20"}
weaver.limitCurrent.dubboCount=30
# { "type" : "env", "value" : "5"}
weaver.limitCurrent.dubboOvertime=7
# { "type" : "env", "value" : "0"}
weaver.limitCurrent.dubboSleepCount=0
# { "type" : "env", "value" : "503"}
weaver.limitCurrent.response.status=503

# 限流组件 提醒人：employeeId:tenantKey,employeeId2:teantKey2
#weaver.limitCurrent.recUserStr=3574034159101103037:tixm3z9zjn,5141129274194053295:T29M9N0JI4

#配置流程请求
# { "type" : "env", "value" : "/api/workflow/core/flowPage/loadBaseParam,/api/workflow/core/flowPage/loadMinorInfo,/api/workflow/core/flowPage/loadSignInputInfo,/api/workflow/core/flowPage/loadWaterMarkInfo,/api/workflow/core/flowPage/loadFrameParam,/api/workflow/core/flow/submit"}
weaver.limitCurrent.workFlowGetUri=/api/workflow/core/flowPage/loadBaseParam,/api/workflow/core/flowPage/loadMinorInfo,/api/workflow/core/flowPage/loadSignInputInfo,/api/workflow/core/flowPage/loadWaterMarkInfo,/api/workflow/core/flowPage/loadFrameParam,/api/workflow/core/flow/submit
#个人白名单list
# { "type" : "env", "value" : "-1"}
weaver.limitCurrent.employeeWhiteList=-1
#params过滤
# { "type" : "env", "value" : "requestId,conditionId,passid,formId,sql"}
weaver.limitCurrent.requestid=requestId,conditionId,passid,formId,sql
#接口白名单
# { "type" : "env", "value" : "/api/cusapp/app/allMenus,/api/architecture/performance/performanceApps,/api/architecture/performance/performanceSearch,/api/architecture/performance/performanceQuery,/api/architecture/performance/performanceTrace,/api/baseserver/layout/teamsCheck,/sapi/i18ncom/cache/refreshCache/selectModLabelCache,/sapi/i18ncom/cache/refreshCache/selectCusLabelCache,/sapi/i18ncom/cache/refreshCache/selectDate,/sapi/i18ncom/cache/refreshCache/selectTdate,/sapi/i18ncom/cache/refreshCache/selectTime,/sapi/i18ncom/cache/refreshCache/selectCurrency,/sapi/i18ncom/cache/refreshCache/selectRate,/sapi/i18ncom/cache/refreshCache/selectFloatStauts,/sapi/i18ncom/cache/refreshCache/selectMeasure,/sapi/i18ncom/cache/refreshCache/selectMeasureUnit"}
weaver.limitCurrent.whiteList=/api/cusapp/app/allMenus,/api/architecture/performance/performanceApps,/api/architecture/performance/performanceSearch,/api/architecture/performance/performanceQuery,/api/architecture/performance/performanceTrace,/api/baseserver/layout/teamsCheck,/sapi/i18ncom/cache/refreshCache/selectModLabelCache,/sapi/i18ncom/cache/refreshCache/selectCusLabelCache,/sapi/i18ncom/cache/refreshCache/selectDate,/sapi/i18ncom/cache/refreshCache/selectTdate,/sapi/i18ncom/cache/refreshCache/selectTime,/sapi/i18ncom/cache/refreshCache/selectCurrency,/sapi/i18ncom/cache/refreshCache/selectRate,/sapi/i18ncom/cache/refreshCache/selectFloatStauts,/sapi/i18ncom/cache/refreshCache/selectMeasure,/sapi/i18ncom/cache/refreshCache/selectMeasureUnit

# 单人接口qps限流 开关 API=*，限制所有接口；API=/x/xx/xxx只限制具体接口
# { "type" : "env", "value" : ""}
weaver.limitCurrent.apiLimit=
# 单人接口qps限流  限流频率: 默认每秒5次（1-10代表每秒10次；60-100代表60秒100次）
# { "type" : "env", "value" : "1-5"}
weaver.limitCurrent.apiLimit.frequency=1-5


# 单人慢请求限流 限流条件：单人单个接口慢请求总数
# { "type" : "env", "value" : "5"}
weaver.limitCurrent.individual.httpCount=5
# 单人接口qps限流：接口并发超过一定数量才开始触发个人QPS限流，否则即使个人QPS到达阈值也不会触发限流
# { "type" : "env", "value" : "200"}
weaver.limitCurrent.individual.httpTotalCount=200
# 单人接口qps限流 配置单个接口qps：如 teamsCheck qps=1
# { "type" : "env", "value" : "/api/baseserver/layout/teamsCheck:1"}
#weaver.limitCurrent.apiLimit.apiQps=/api/baseserver/layout/teamsCheck:1
