fix: stop aggressive API polling and SSE reconnect when auth lost
CI / Test & Lint (push) Canceled after 0s
CI / Security audit (push) Canceled after 0s

When unauthenticated (TOTP gate active), the dashboard was polling
/api/v1/services/status every few seconds and reconnecting SSE every
2-8s indefinitely. Now: 401/403 sets _dcAuthLost flag to skip the
polling interval, and SSE stops after 5 consecutive failures.
This commit is contained in:
Hermes
2026-08-13 14:40:56 -07:00
parent 2ada4694a2
commit 89968f5485
5 changed files with 56 additions and 35 deletions
+2 -2
View File
File diff suppressed because one or more lines are too long