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
@@ -31,6 +31,7 @@ ER_COLLECTOR_PROJECT_ALPHA_TOKEN=er_tst_a_secret_one
# TICK_INTERVAL_MS=3000
# SOURCE_REFRESH_MS=15000
# HTTP_FETCH_TIMEOUT_MS=15000
# INGEST_PUSH_TIMEOUT_MS=60000
# MAX_BACKOFF_EXPONENT=8
# COLLECTOR_DEFAULT_INGEST_TOKEN=