Merge branch 'develop' into feat/monitor-service-ts

This commit is contained in:
Alexander Holliday
2026-01-14 14:47:25 -08:00
committed by GitHub
@@ -187,6 +187,7 @@ class MongoChecksRepistory implements IChecksRepository {
const maxIntervalMs = Number(10 * 60 * 1000);
const bufferMs = Number(maxIntervalMs);
const lookbackMs = limitPerMonitor * maxIntervalMs + bufferMs;
const cutoffDate = new Date(Date.now() - lookbackMs);
const checkGroups = await CheckModel.aggregate([
{