fixed stupid double request bug from bad merge

This commit is contained in:
TomPallister 2017-06-25 22:07:19 +01:00
parent b85474b393
commit 26e7621798
2 changed files with 1 additions and 5 deletions

View File

@ -36,8 +36,6 @@ namespace Ocelot.RateLimit.Middleware
if (!DownstreamRoute.ReRoute.EnableEndpointEndpointRateLimiting) if (!DownstreamRoute.ReRoute.EnableEndpointEndpointRateLimiting)
{ {
_logger.LogDebug($"EndpointRateLimiting is not enabled for {DownstreamRoute.ReRoute.DownstreamPathTemplate}"); _logger.LogDebug($"EndpointRateLimiting is not enabled for {DownstreamRoute.ReRoute.DownstreamPathTemplate}");
await _next.Invoke(context);
await _next.Invoke(context); await _next.Invoke(context);
return; return;
} }
@ -48,8 +46,6 @@ namespace Ocelot.RateLimit.Middleware
if (IsWhitelisted(identity, options)) if (IsWhitelisted(identity, options))
{ {
_logger.LogDebug($"{DownstreamRoute.ReRoute.DownstreamPathTemplate} is white listed from rate limiting"); _logger.LogDebug($"{DownstreamRoute.ReRoute.DownstreamPathTemplate} is white listed from rate limiting");
await _next.Invoke(context);
await _next.Invoke(context); await _next.Invoke(context);
return; return;
} }

View File

@ -2,7 +2,7 @@
"Logging": { "Logging": {
"IncludeScopes": true, "IncludeScopes": true,
"LogLevel": { "LogLevel": {
"Default": "Information", "Default": "Trace",
"System": "Information", "System": "Information",
"Microsoft": "Information" "Microsoft": "Information"
} }