Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix: remove body for play checker (#968)
Maximilian Kaskee49db4583c68
diff --git a/apps/web/src/components/ping-response-analysis/utils.ts b/apps/web/src/components/ping-response-analysis/utils.tsindex 67fdd40e1..c687b50ea 100644--- a/apps/web/src/components/ping-response-analysis/utils.ts+++ b/apps/web/src/components/ping-response-analysis/utils.ts@@ -167,17 +167,21 @@ export async function checkRegion(};}+/**+ * Used for the /play/checker page only+ */export async function checkAllRegions(url: string, opts?: { method: Method }) {// TODO: settleAllreturn await Promise.all(flyRegions.map(async (region) => {const check = await checkRegion(url, region, opts);+ // REMINDER: dropping the body to avoid storing it within Redis Cache (Err max request size exceeded)+ check.body = undefined;return check;}),);}-// TODO: add opts: { method: Method }export async function setCheckerData(url: string, opts?: { method: Method }) {const redis = Redis.fromEnv();const time = new Date().getTime();