fix: Update nextPingAt calculation to use a 2-minute offset for improved timing accuracy

This commit is contained in:
Simon Larsen
2025-08-02 11:42:01 +01:00
parent 962866d109
commit 6ea5ad7fe8

View File

@@ -399,7 +399,7 @@ router.post(
probeId: probeId,
isEnabled: true,
nextPingAt: QueryHelper.lessThanEqualToOrNull(
OneUptimeDate.getCurrentDate(),
OneUptimeDate.getSomeMinutesAgo(2)
),
monitor: {
...MonitorService.getEnabledMonitorQuery(),