Adjust response time thresholds: green <=5s, orange <=10s, red >10s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
mariosemes
2026-03-27 07:50:57 +01:00
parent 859ccd8b68
commit 73f4abbab0

View File

@@ -188,11 +188,11 @@
? 'text-red-400/50' ? 'text-red-400/50'
: store.last_scrape_ok === null : store.last_scrape_ok === null
? 'text-text-tertiary/40' ? 'text-text-tertiary/40'
: store.avg_duration_ms <= 1500 : store.avg_duration_ms <= 5000
? 'text-emerald-400/70' ? 'text-emerald-400/70'
: store.avg_duration_ms <= 4000 : store.avg_duration_ms <= 10000
? 'text-yellow-400/70' ? 'text-orange-400/70'
: 'text-orange-400/70'}"> : 'text-red-400/70'}">
{#if isBroken} {#if isBroken}
failing failing
{:else if store.last_scrape_ok === null} {:else if store.last_scrape_ok === null}