From ad5803ef9c6e8155eb7cfb341c8f4ea13729bb6f Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 31 Mar 2026 18:51:38 +0200 Subject: [PATCH] update proxmox-dashboard.tsx --- AppImage/components/proxmox-dashboard.tsx | 2 +- AppImage/scripts/flask_notification_routes.py | 2 +- AppImage/scripts/startup_grace.py | 2 +- AppImage/scripts/test_real_events.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AppImage/components/proxmox-dashboard.tsx b/AppImage/components/proxmox-dashboard.tsx index d230dee4..a4b23d44 100644 --- a/AppImage/components/proxmox-dashboard.tsx +++ b/AppImage/components/proxmox-dashboard.tsx @@ -240,7 +240,7 @@ export function ProxmoxDashboard() { // Delay to allow initial connection attempt, then refresh to ensure proper connection const timeoutId = setTimeout(() => { setComponentKey(prev => prev + 1) - }, 1500) + }, 500) return () => clearTimeout(timeoutId) } diff --git a/AppImage/scripts/flask_notification_routes.py b/AppImage/scripts/flask_notification_routes.py index 9307a7e8..7c3294b7 100644 --- a/AppImage/scripts/flask_notification_routes.py +++ b/AppImage/scripts/flask_notification_routes.py @@ -855,7 +855,7 @@ def proxmox_webhook(): resp.headers['Retry-After'] = '60' return resp, 429 - # ��─ Layers 2-5: Remote-only checks ── + # ── Layers 2-5: Remote-only checks ── if not is_localhost: # Layer 2: Shared secret try: diff --git a/AppImage/scripts/startup_grace.py b/AppImage/scripts/startup_grace.py index 33a92df8..eaf65ec2 100644 --- a/AppImage/scripts/startup_grace.py +++ b/AppImage/scripts/startup_grace.py @@ -21,7 +21,7 @@ import time import threading from typing import Set, List, Tuple, Optional -# ─── Configuration ─────────────────────────────────────────────────────────── +# ─── Configuration ───────────────────────���─────────────────────────────────── # Grace period durations (seconds) STARTUP_VM_GRACE_SECONDS = 180 # 3 minutes for VM/CT start aggregation diff --git a/AppImage/scripts/test_real_events.sh b/AppImage/scripts/test_real_events.sh index 8e377f76..41a457d4 100644 --- a/AppImage/scripts/test_real_events.sh +++ b/AppImage/scripts/test_real_events.sh @@ -34,7 +34,7 @@ LOG_FILE="/tmp/proxmenux_real_test_$(date +%Y%m%d_%H%M%S).log" log() { echo -e "$1" | tee -a "$LOG_FILE"; } header() { echo "" | tee -a "$LOG_FILE" - echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}" | tee -a "$LOG_FILE" + echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━��━━━━━━━━━━━━━${NC}" | tee -a "$LOG_FILE" echo -e "${BOLD} $1${NC}" | tee -a "$LOG_FILE" echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}" | tee -a "$LOG_FILE" } @@ -684,7 +684,7 @@ show_menu() { echo -ne " Select: " } -# ── Main ──────────────────────────────────────────────────────── +# ── Main ────────────────────────────────────────���─────────────── main() { local mode="${1:-menu}"