File tree Expand file tree Collapse file tree
src/OrchardCoreContrib.HealthChecks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88using OrchardCore . Environment . Shell . Configuration ;
99using OrchardCore . Modules ;
1010using OrchardCoreContrib . HealthChecks . Models ;
11- using OrchardCoreContrib . HealthChecks . Services ;
1211using System . Net . Mime ;
1312using System . Text . Json ;
1413
@@ -86,8 +85,6 @@ public class RateLimitingStartup(IShellConfiguration shellConfiguration) : Start
8685 public override void ConfigureServices ( IServiceCollection services )
8786 {
8887 services . Configure < HealthChecksRateLimitingOptions > ( shellConfiguration . GetSection ( $ "{ Constants . ConfigurationKey } :RateLimiting") ) ;
89-
90- services . AddSingleton < IHealthCheckRateLimiter , HealthCheckRateLimiter > ( ) ;
9188 }
9289
9390 public override void Configure ( IApplicationBuilder app , IEndpointRouteBuilder routes , IServiceProvider serviceProvider )
You can’t perform that action at this time.
0 commit comments