From fd2884e5a1a26f73ace53b781b439ccb6dfe194e Mon Sep 17 00:00:00 2001 From: nate Date: Fri, 10 Apr 2026 00:29:03 +0400 Subject: [PATCH] fix --- apps/api/src/routes/monitors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/routes/monitors.ts b/apps/api/src/routes/monitors.ts index bf9f22d..8f9b252 100644 --- a/apps/api/src/routes/monitors.ts +++ b/apps/api/src/routes/monitors.ts @@ -68,7 +68,7 @@ export const monitors = new Elysia({ prefix: "/monitors" }) return { error: `Minimum interval for ${plan} plan is ${limits.minIntervalS}s` }; } - const retryGap = body.retry_interval_s ?? Math.max(30, limits.minIntervalS); + const retryGap = body.retry_interval_s ?? limits.minIntervalS; if (retryGap < limits.minIntervalS) { set.status = 400; return { error: `Retry interval for ${plan} plan must be at least ${limits.minIntervalS}s` };