Skip to content

Commit

Permalink
Disable kafka health check (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
acn-sbuad authored Oct 25, 2023
1 parent 3d3829f commit 931a26c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Altinn.Notifications/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ void ConfigureServices(IServiceCollection services, IConfiguration config)
services.AddCoreServices(config);

services.AddKafkaServices(config);
services.AddKafkaHealthChecks(config);

// services.AddKafkaHealthChecks(config); // disabeling health check as it is believed to cause instability

Check warning on line 186 in src/Altinn.Notifications/Program.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

Check warning on line 186 in src/Altinn.Notifications/Program.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

Check warning on line 186 in src/Altinn.Notifications/Program.cs

View workflow job for this annotation

GitHub Actions / Build, test & analyze

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

Check warning on line 186 in src/Altinn.Notifications/Program.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

Check warning on line 186 in src/Altinn.Notifications/Program.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

services.AddPostgresRepositories(config);
services.AddPostgresHealthChecks(config);
Expand Down

0 comments on commit 931a26c

Please sign in to comment.