mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +00:00
fix(producer): emit heap advisory at orchestrator, lock message + telemetry props with tests
This commit is contained in:
@@ -124,6 +124,7 @@ const HEAP_RESERVED_MB = 1024;
|
||||
// default heap ⇒ >~500MB/worker + base. ponytail: advisory-only until the
|
||||
// workers_heap_* telemetry added alongside this constant validates the figure
|
||||
// — enforcing a guessed budget could silently cut worker counts fleet-wide.
|
||||
// TODO(PRINFRA-341): decide enforcement after ~2 weeks of fleet soak.
|
||||
const HEAP_PER_WORKER_MB = 640;
|
||||
const MIN_WORKERS = 1;
|
||||
const MAX_WORKER_DIAGNOSTIC_LINES = 8;
|
||||
|
||||
Reference in New Issue
Block a user