diff --git a/src/Managing.Api/HealthChecks/CandleDataHealthCheck.cs b/src/Managing.Api/HealthChecks/CandleDataHealthCheck.cs index 1b1c740c..ca4881ab 100644 --- a/src/Managing.Api/HealthChecks/CandleDataHealthCheck.cs +++ b/src/Managing.Api/HealthChecks/CandleDataHealthCheck.cs @@ -24,9 +24,11 @@ namespace Managing.Api.HealthChecks // Define timeframes to check with their appropriate start dates and expected freshness var timeframeChecks = new[] { - (timeframe: Timeframe.FifteenMinutes, startDate: now.AddDays(-1), maxAgeMins: 30.0), - (timeframe: Timeframe.OneHour, startDate: now.AddDays(-3), maxAgeMins: 120.0), - (timeframe: Timeframe.OneDay, startDate: now.AddDays(-30), maxAgeMins: 1440.0) + (timeframe: Timeframe.FiveMinutes, startDate: now.AddDays(-1), maxAgeMins: 7), + (timeframe: Timeframe.FifteenMinutes, startDate: now.AddDays(-1), maxAgeMins: 17), + (timeframe: Timeframe.OneHour, startDate: now.AddDays(-3), maxAgeMins: 62), + (timeframe: Timeframe.FourHour, startDate: now.AddDays(-7), maxAgeMins: 242), + (timeframe: Timeframe.OneDay, startDate: now.AddDays(-30), maxAgeMins: 1442) }; var results = new List>();