Openstatus www.openstatus.dev

fix: remove body for play checker (#968)

authored by

Maximilian Kaske and committed by
GitHub
e49db458 6fd9df43

+5 -1
+5 -1
apps/web/src/components/ping-response-analysis/utils.ts
··· 167 167 }; 168 168 } 169 169 170 + /** 171 + * Used for the /play/checker page only 172 + */ 170 173 export async function checkAllRegions(url: string, opts?: { method: Method }) { 171 174 // TODO: settleAll 172 175 return await Promise.all( 173 176 flyRegions.map(async (region) => { 174 177 const check = await checkRegion(url, region, opts); 178 + // REMINDER: dropping the body to avoid storing it within Redis Cache (Err max request size exceeded) 179 + check.body = undefined; 175 180 return check; 176 181 }), 177 182 ); 178 183 } 179 184 180 - // TODO: add opts: { method: Method } 181 185 export async function setCheckerData(url: string, opts?: { method: Method }) { 182 186 const redis = Redis.fromEnv(); 183 187 const time = new Date().getTime();