Skip to content

Commit

Permalink
reducing health check (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtallcampbell authored Aug 1, 2024
1 parent 35a4dc5 commit bf68a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/LogWriterService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public bool IsHealthy() {
// Check to make sure there's at least one log file and no more than two.
// One log file means there's a current log file, two means there's a current log file and a previous log file that hasn't been downlinked yet.
// This is expected behavior and means the service is writing logs and downlinking them correctly.
if (files.Length >= 1 && files.Length <= 2) {
if (files.Length <= 2) {
return true;
}

Expand Down

0 comments on commit bf68a74

Please sign in to comment.