feat: complete dashboard-vite parity and fix portal health/csp regressions
This commit is contained in:
23
.env.example
23
.env.example
@@ -103,6 +103,17 @@ RESOURCE_CACHE_ENABLED=true
|
||||
# The cache will check for updates at this interval using MAX(LASTCHANGEDATE)
|
||||
RESOURCE_SYNC_INTERVAL=14400
|
||||
|
||||
# Resource index version check interval in seconds (default: 5)
|
||||
RESOURCE_INDEX_VERSION_CHECK_INTERVAL=5
|
||||
|
||||
# Realtime equipment status cache toggle and sync interval
|
||||
REALTIME_EQUIPMENT_CACHE_ENABLED=true
|
||||
EQUIPMENT_STATUS_SYNC_INTERVAL=300
|
||||
|
||||
# Filter cache SQL view overrides
|
||||
FILTER_CACHE_WIP_VIEW=DWH.DW_MES_LOT_V
|
||||
FILTER_CACHE_SPEC_WORKCENTER_VIEW=DWH.DW_MES_SPEC_WORKCENTER_V
|
||||
|
||||
# ============================================================
|
||||
# Circuit Breaker Configuration
|
||||
# ============================================================
|
||||
@@ -128,6 +139,9 @@ CIRCUIT_BREAKER_WINDOW_SIZE=10
|
||||
# Note: Real-time Oracle views may take 2-5s per query, set threshold accordingly
|
||||
SLOW_QUERY_THRESHOLD=5.0
|
||||
|
||||
# In-memory query metrics sliding window size
|
||||
METRICS_WINDOW_SIZE=1000
|
||||
|
||||
# ============================================================
|
||||
# SQLite Log Store Configuration
|
||||
# ============================================================
|
||||
@@ -164,6 +178,12 @@ WATCHDOG_RESTART_HISTORY_MAX=50
|
||||
# Cooldown period between restart requests in seconds (default: 60)
|
||||
WORKER_RESTART_COOLDOWN=60
|
||||
|
||||
# Watchdog loop check interval in seconds
|
||||
WATCHDOG_CHECK_INTERVAL=5
|
||||
|
||||
# Runtime contract strict validation toggle
|
||||
RUNTIME_CONTRACT_ENFORCE=false
|
||||
|
||||
# ============================================================
|
||||
# Runtime Resilience Diagnostics Thresholds
|
||||
# ============================================================
|
||||
@@ -185,3 +205,6 @@ RESILIENCE_RESTART_CHURN_THRESHOLD=3
|
||||
# Example: https://example.com,https://app.example.com
|
||||
# Set to * for development (not recommended for production)
|
||||
CORS_ALLOWED_ORIGINS=
|
||||
|
||||
# Health endpoint memo cache TTL in seconds
|
||||
HEALTH_MEMO_TTL_SECONDS=5
|
||||
|
||||
Reference in New Issue
Block a user