bump max runs
This commit is contained in:
@@ -369,7 +369,7 @@ export const dashboard = new Elysia()
|
||||
|
||||
const pings = await sql`
|
||||
SELECT * FROM pings WHERE monitor_id = ${params.id}
|
||||
ORDER BY checked_at DESC LIMIT 100
|
||||
ORDER BY checked_at DESC LIMIT 200
|
||||
`;
|
||||
|
||||
return html("detail", { nav: "monitors", monitor, pings, plan: resolved?.plan || "free" });
|
||||
@@ -389,7 +389,7 @@ export const dashboard = new Elysia()
|
||||
|
||||
const pings = await sql`
|
||||
SELECT * FROM pings WHERE monitor_id = ${params.id}
|
||||
ORDER BY checked_at DESC LIMIT 100
|
||||
ORDER BY checked_at DESC LIMIT 200
|
||||
`;
|
||||
const chartPings = pings.slice().reverse();
|
||||
return new Response(latencyChartSSR(chartPings), {
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
'us-west': '🇺🇸 US West'
|
||||
};
|
||||
|
||||
const MAX_RUNS = 25;
|
||||
const MAX_RUNS = 100;
|
||||
const chartPings = <%~ JSON.stringify(chartPings.map(p => ({
|
||||
latency_ms: p.latency_ms, region: p.region || '__none__',
|
||||
checked_at: p.checked_at, up: p.up, run_id: p.run_id || null,
|
||||
|
||||
Reference in New Issue
Block a user