mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 00:32:50 +08:00
fixed stupid double request bug from bad merge
This commit is contained in:
parent
b85474b393
commit
26e7621798
@ -36,8 +36,6 @@ namespace Ocelot.RateLimit.Middleware
|
||||
if (!DownstreamRoute.ReRoute.EnableEndpointEndpointRateLimiting)
|
||||
{
|
||||
_logger.LogDebug($"EndpointRateLimiting is not enabled for {DownstreamRoute.ReRoute.DownstreamPathTemplate}");
|
||||
await _next.Invoke(context);
|
||||
|
||||
await _next.Invoke(context);
|
||||
return;
|
||||
}
|
||||
@ -48,8 +46,6 @@ namespace Ocelot.RateLimit.Middleware
|
||||
if (IsWhitelisted(identity, options))
|
||||
{
|
||||
_logger.LogDebug($"{DownstreamRoute.ReRoute.DownstreamPathTemplate} is white listed from rate limiting");
|
||||
await _next.Invoke(context);
|
||||
|
||||
await _next.Invoke(context);
|
||||
return;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
"Logging": {
|
||||
"IncludeScopes": true,
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Default": "Trace",
|
||||
"System": "Information",
|
||||
"Microsoft": "Information"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user