update proxmox-dashboard.tsx

This commit is contained in:
MacRimi
2026-03-31 18:51:38 +02:00
parent c04b514a2a
commit ad5803ef9c
4 changed files with 5 additions and 5 deletions

View File

@@ -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)
}

View File

@@ -855,7 +855,7 @@ def proxmox_webhook():
resp.headers['Retry-After'] = '60'
return resp, 429
# <EFBFBD><EFBFBD>─ Layers 2-5: Remote-only checks ──
# ─ Layers 2-5: Remote-only checks ──
if not is_localhost:
# Layer 2: Shared secret
try:

View File

@@ -21,7 +21,7 @@ import time
import threading
from typing import Set, List, Tuple, Optional
# ─── Configuration ──────────────────────────────────────────────────────────
# ─── Configuration ───────────────────────<EFBFBD><EFBFBD><EFBFBD>───────────────────────────────────
# Grace period durations (seconds)
STARTUP_VM_GRACE_SECONDS = 180 # 3 minutes for VM/CT start aggregation

View File

@@ -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}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<EFBFBD><EFBFBD>━━━━━━━━━━━━━${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 ────────────────────────────────────────<EFBFBD><EFBFBD><EFBFBD>───────────────
main() {
local mode="${1:-menu}"