release: BUG fixes batch 1-6, full bug scan docs, Ubuntu/Linux dev
- Backend: auth refresh reuse, schedule/retry/sync/agent/files fixes - Frontend: push WS, files ETag browse, vite build assets - Docs: audit/changelog, production deploy gate, bug scan registry B7-77 - Deploy: deploy-production.sh, prune assets, gate logs
This commit is contained in:
+4
-2
@@ -29,9 +29,11 @@ logger = logging.getLogger("nexus.agent")
|
||||
|
||||
router = APIRouter(prefix="/api/agent", tags=["agent"])
|
||||
|
||||
# Redis key patterns
|
||||
# Redis key patterns (TTL must exceed flush interval so keys survive until MySQL flush)
|
||||
from server.background.heartbeat_flush import FLUSH_INTERVAL
|
||||
|
||||
REDIS_KEY_PREFIX = "heartbeat:"
|
||||
REDIS_KEY_EXPIRE = 600 # 10 min TTL — matches flush interval
|
||||
REDIS_KEY_EXPIRE = int(FLUSH_INTERVAL * 1.5) # 900s when flush is 600s
|
||||
REDIS_ALERT_KEY_PREFIX = "alerts:"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user