mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-10-20 15:21:30 +02:00
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
21 lines
546 B
Bash
Executable File
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
|