Skip to content

Commit 99cb666

Browse files
Add a to-do
1 parent 6a246ea commit 99cb666

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceControl.Audit.Persistence.RavenDB/CustomChecks/CheckDirtyMemory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public override async Task<CheckResult> PerformCheck(CancellationToken cancellat
3535
Log.Debug("Not enough dirty memory data in the series to calculate a trend.");
3636
}
3737

38+
// TODO do we need a threshold below which the check never fails?
3839
// Three means we'll be observing for 15 minutes before calculating the trend
3940
if (lastDirtyMemoryReads.Count >= 3 && AnalyzeTrendUsingRegression(lastDirtyMemoryReads) == TrendDirection.Increasing)
4041
{

0 commit comments

Comments
 (0)