perf: reduce relay status polling interval to 20 seconds

Change relay status polling from 5s (default) and 2s (Settings/Indicator) to 20s across the board to reduce CPU usage and network requests
This commit is contained in:
Gigi
2025-10-09 16:23:59 +01:00
parent 0c58f4347b
commit 4e3bb36ea5
4 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ interface UseRelayStatusParams {
export function useRelayStatus({
relayPool,
pollingInterval = 5000
pollingInterval = 20000
}: UseRelayStatusParams) {
const [relayStatuses, setRelayStatuses] = useState<RelayStatus[]>([])