diff --git a/studio/backend/routes/html_preview.py b/studio/backend/routes/html_preview.py index 5d4ba8c1fa..2dbe1c4483 100644 --- a/studio/backend/routes/html_preview.py +++ b/studio/backend/routes/html_preview.py @@ -43,8 +43,8 @@ router = APIRouter() # Knobs (module-level so tests can monkeypatch). MAX_HTML_PREVIEW_BYTES = 1_000_000 # 1 MiB; snippets, not full SPAs. -PREVIEW_TTL_SECONDS = 10 * 60 # 10 min interaction window. -MAX_LIVE_PREVIEWS = 256 # Per-process cap; oldest evicted first. +PREVIEW_TTL_SECONDS = 10 * 60 # 10 min interaction window. +MAX_LIVE_PREVIEWS = 256 # Per-process cap; oldest evicted first. _PREVIEWS: dict[str, tuple[float, str]] = {}