AspNetCore.Docs.Samples/fundamentals/middleware/rate-limit/WebRate2/appsettings.Development.json

22 lines
469 B
JSON

{
"DetailedErrors": true,
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.AspNetCore.RateLimiting": "Debug"
}
},
"MyRateLimit": {
"PermitLimit": 4,
"SlidingPermitLimit": 100,
"Window": 30,
"ReplenishmentPeriod": 1,
"QueueLimit": 2,
"SegmentsPerWindow": 2,
"TokenLimit": 4,
"TokenLimit2": 6,
"TokensPerPeriod": 4,
"AutoReplenishment": true
}
}