collector-worker: bound ingest POST with INGEST_PUSH_TIMEOUT_MS (BIT-2600)
CI / Test ingest-api (push) Has been cancelled
CI / Test api (push) Has been cancelled
CI / Lint and typecheck admin-ui (push) Has been cancelled
CI / Validate Docker build (push) Has been cancelled

Add AbortController timeout to pushEventsToIngest (error ingest_push_timeout),
env INGEST_PUSH_TIMEOUT_MS (default 60s, minimum 1s), Vitest coverage, and
compose/env.example documentation.

Made-with: Cursor
This commit is contained in:
David Santos committed 2026-04-12 11:51:03 +00:00
1 parent b29f72bef4
commit 1099cbb724
7 files changed
+96

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ INGEST_BASE_URL=http://127.0.0.1:3041
TICK_INTERVAL_MS=3000
SOURCE_REFRESH_MS=15000
HTTP_FETCH_TIMEOUT_MS=15000
INGEST_PUSH_TIMEOUT_MS=60000
MAX_BACKOFF_EXPONENT=8
# --- admin-ui (Next.js server-side API calls) — target the Fastify `api/` service (default PORT 3200) ---