Skip to content

Commit c2d7d60

Browse files
committed
docs(stress-tasks): MOLLIFIER_SHADOW trip observation payload
1 parent a095e94 commit c2d7d60

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

references/stress-tasks/src/trigger/fanout.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ async function asyncPool<T>(
9494
* matters once phase 3 wires the buffer write. In phase 1, this still goes
9595
* through the existing engine.trigger() path because the gate is no-op.
9696
* { "count": 500, "concurrency": 500 }
97+
*
98+
* @example Shadow-mode trip observation — fire a 500-fan-out and watch the webapp logs
99+
* for `mollifier.would_mollify` entries. Requires the webapp running with
100+
* MOLLIFIER_ENABLED=1 MOLLIFIER_SHADOW_MODE=1.
101+
* { "count": 500, "concurrency": 500 }
97102
*/
98103
export const fanOutTriggerTask = task({
99104
id: "stress-fan-out-trigger",

0 commit comments

Comments
 (0)