2022-08-09 11:08:38 +08:00
|
|
|
{
|
|
|
|
"ConnectionStrings": {
|
|
|
|
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-WebRateLimitAuth-53bc9b9d-9d6a-45d4-8429-2a2761773502;Trusted_Connection=True;MultipleActiveResultSets=true"
|
|
|
|
},
|
|
|
|
"Logging": {
|
|
|
|
"LogLevel": {
|
|
|
|
"Default": "Information",
|
|
|
|
"Microsoft.AspNetCore": "Warning"
|
|
|
|
}
|
|
|
|
},
|
2022-08-20 07:31:02 +08:00
|
|
|
"AllowedHosts": "*",
|
|
|
|
"MyRateLimit": {
|
2022-10-15 08:18:37 +08:00
|
|
|
"PermitLimit": 6,
|
|
|
|
"Window": 9,
|
2022-10-14 05:07:15 +08:00
|
|
|
"ReplenishmentPeriod": 1,
|
2022-10-15 08:18:37 +08:00
|
|
|
"QueueLimit": 2,
|
2022-10-14 05:07:15 +08:00
|
|
|
"SegmentsPerWindow": 4,
|
|
|
|
"TokenLimit": 8,
|
|
|
|
"TokenLimit2": 12,
|
|
|
|
"TokensPerPeriod": 4,
|
|
|
|
"AutoReplenishment": true
|
2022-08-20 07:31:02 +08:00
|
|
|
}
|
2022-08-09 11:08:38 +08:00
|
|
|
}
|