mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:23:26 +08:00
【新增】新增并发限制中间件【Microsoft.AspNetCore.ConcurrencyLimiter】,限制并发处理,请结合限流进行合理配置。
This commit is contained in:
@@ -59,6 +59,12 @@
|
||||
//开启Ip限流
|
||||
"IpRateLimit": {
|
||||
"Enabled": false
|
||||
},
|
||||
"ConcurrencyLimiter": {
|
||||
//最大并发请求数
|
||||
"MaxConcurrentRequests": 100,
|
||||
//最大请求数
|
||||
"RequestQueueLimit": 100
|
||||
}
|
||||
},
|
||||
//ip限流规则设置
|
||||
|
||||
Reference in New Issue
Block a user