Files
rengine/api/entrypoint.sh
T
Yogesh OjhaandClaude Fable 5.1 d4072b8efa perf: make the read path scale with the estate
Scan page froze on a duplicate each key; every tab body now sits in a
svelte:boundary. Composite discovered_at indexes on the five result
tables, leads counted in one FILTER pass, dashboard and scan-service
first-seen counts bounded to the scans in the window, ANALYZE at
finalize, shm_size on the db service, SQL_ECHO instead of DEBUG, an
entrypoint that serves with workers outside reload.

Settled-scope aggregates and search pages are cached by target
revision; triage, dismissal, interest evaluation, notes, certificate
rechecks and re-ranking bump it. Requests per page cut: single-flight
GETs, one schemas endpoint, batched whois correlations, a counts
endpoint for the dashboard, deduped store loads, trimmed coverage
payloads.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NWRq8utu7KXsVBVU3gYNi7
2026-09-12 08:49:41 +05:30

21 lines
546 B
Bash
Executable File

#!/bin/sh
set -e
if [ "${API_RELOAD:-true}" = "true" ]; then
exec uv run uvicorn app.main:app \
--host 0.0.0.0 --port 8000 \
--reload \
--reload-dir /app/app \
--reload-dir /app/shared \
--reload-dir /app/tools \
--reload-dir /app/stages \
--reload-dir /app/reports \
--reload-dir /app/toolbox \
--timeout-graceful-shutdown 2
fi
exec uv run uvicorn app.main:app \
--host 0.0.0.0 --port 8000 \
--workers "${API_WORKERS:-4}" \
--timeout-graceful-shutdown 10