From 872038341af3b229e4311c7302198d9dc5901d50 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Sun, 8 Feb 2026 07:53:29 +0100 Subject: [PATCH] feat(evolution): Real-time sync for all tabs (60s cache) - Changed fetch_file() TTL from 300s to 60s - All tabs now refresh every minute like Devel tab - Updated footer to reflect unified refresh interval Co-Authored-By: Claude Opus 4.5 --- .../files/secubox_evolution.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/secubox/secubox-app-streamlit-evolution/files/secubox_evolution.py b/package/secubox/secubox-app-streamlit-evolution/files/secubox_evolution.py index e659b2dc..1344e3a0 100644 --- a/package/secubox/secubox-app-streamlit-evolution/files/secubox_evolution.py +++ b/package/secubox/secubox-app-streamlit-evolution/files/secubox_evolution.py @@ -262,9 +262,9 @@ FILES = { "README": f"{GITHUB_BASE}/README.md" } -@st.cache_data(ttl=300) +@st.cache_data(ttl=60) # 1-minute cache for real-time sync def fetch_file(url): - """Fetch file content from GitHub""" + """Fetch file content from GitHub (real-time sync)""" try: response = requests.get(url, timeout=10) if response.status_code == 200: @@ -793,7 +793,7 @@ def main():
SecuBox Evolution Dashboard • Auto-synced with GitHub master branch
- Devel status: 1 min • Docs: 5 min • + All tabs refresh every 60 seconds • View on GitHub