From e4895afe8e842a0b1a0fd1b9d00f7e5900fe3f5d Mon Sep 17 00:00:00 2001 From: nate Date: Wed, 18 Mar 2026 21:01:41 +0400 Subject: [PATCH] update: default ping interval to 30s, update free tier limit to match --- apps/api/src/routes/monitors.ts | 2 +- apps/web/src/views/landing.ejs | 2 +- apps/web/src/views/partials/monitor-form.ejs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/api/src/routes/monitors.ts b/apps/api/src/routes/monitors.ts index 426f08c..ad440c8 100644 --- a/apps/api/src/routes/monitors.ts +++ b/apps/api/src/routes/monitors.ts @@ -10,7 +10,7 @@ const MonitorBody = t.Object({ request_headers: t.Optional(t.Any({ description: "Request headers as key-value object" })), request_body: t.Optional(t.Nullable(t.String({ maxLength: 65536, description: "Request body for POST/PUT/PATCH (max 64KB)" }))), timeout_ms: t.Optional(t.Number({ minimum: 1000, maximum: 60000, default: 10000, description: "Request timeout in ms" })), - interval_s: t.Optional(t.Number({ minimum: 2, default: 10, description: "Check interval in seconds (minimum 2)" })), + interval_s: t.Optional(t.Number({ minimum: 2, default: 30, description: "Check interval in seconds (minimum 2)" })), query: t.Optional(t.Any({ description: "PingQL query — filter conditions for up/down" })), regions: t.Optional(t.Array(t.String(), { description: "Regions to run checks from. Empty array = all regions." })), }); diff --git a/apps/web/src/views/landing.ejs b/apps/web/src/views/landing.ejs index 3e1e8fb..31394ef 100644 --- a/apps/web/src/views/landing.ejs +++ b/apps/web/src/views/landing.ejs @@ -488,7 +488,7 @@
  • - 20s check interval + 30s check interval
  • diff --git a/apps/web/src/views/partials/monitor-form.ejs b/apps/web/src/views/partials/monitor-form.ejs index b421889..ddc529c 100644 --- a/apps/web/src/views/partials/monitor-form.ejs +++ b/apps/web/src/views/partials/monitor-form.ejs @@ -66,7 +66,7 @@