[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
169e5b3e96
commit
efda0b0c4c
1 changed files with 2 additions and 2 deletions
|
|
@ -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]] = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue