refactor(relay): adjust offline indicator polling to 5s

This commit is contained in:
Gigi
2025-10-09 17:01:20 +01:00
parent 4306069191
commit e08bc54f15

View File

@@ -10,8 +10,8 @@ interface RelayStatusIndicatorProps {
}
export const RelayStatusIndicator: React.FC<RelayStatusIndicatorProps> = ({ relayPool }) => {
// Poll frequently for responsive offline indicator (3s instead of default 20s)
const relayStatuses = useRelayStatus({ relayPool, pollingInterval: 3000 })
// Poll frequently for responsive offline indicator (5s instead of default 20s)
const relayStatuses = useRelayStatus({ relayPool, pollingInterval: 5000 })
if (!relayPool) return null