Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Fix SolidJS proxy error in batched WebSocket updates
rcourtman8232f4d4d071
diff --git a/frontend-modern/src/stores/websocket.ts b/frontend-modern/src/stores/websocket.tsindex 8e9d46111e..cbdada0cc8 100644--- a/frontend-modern/src/stores/websocket.ts+++ b/frontend-modern/src/stores/websocket.ts@@ -1,4 +1,4 @@-import { createSignal, onCleanup } from 'solid-js';+import { createSignal, onCleanup, batch } from 'solid-js';import { createStore, produce, reconcile } from 'solid-js/store';import type {State,@@ -472,12 +472,10 @@ export function createWebSocketStore(url: string) {// Apply updates - batch together if both are present to prevent flappingif (shouldApplyDockerHosts && processedHosts !== null) {// Both dockerHosts and hosts in this message - batch them atomically- setState(- produce((s: State) => {- s.dockerHosts = reconcile(processedDockerHosts!, { key: 'id' })(s.dockerHosts);- s.hosts = reconcile(processedHosts!, { key: 'id' })(s.hosts);- })- );+ batch(() => {+ setState('dockerHosts', reconcile(processedDockerHosts!, { key: 'id' }));+ setState('hosts', reconcile(processedHosts!, { key: 'id' }));+ });// Lifecycle cleanup for Docker hosts and containersconst hostIds = new Set(processedDockerHosts!.map((h: DockerHost) => h.id).filter(Boolean));