DEFAULT_LOG_DEAD_LETTERS
constDEFAULT_LOG_DEAD_LETTERS:10=10
Defined in: src/diagnostics/DiagnosticsOptions.ts:21
Built-in default for DiagnosticsOptionsType.logDeadLetters — ten full records before logging suspends.
Ten and not one: the first dead letter of a run is rarely the informative one. A misrouted name, a stopped supervisor, an ask that timed out — each usually produces a small handful in quick succession, and seeing the shape of the handful is what identifies the sender. Ten and not a hundred: a delivery outage produces dead letters at message rate, and a hundred lines of the same record buries whatever else the log was saying.
There is no measurement behind the number; it is a defensible starting point, and the throttle exists precisely because the exact figure is not load-bearing (#1000).
