Offload functions to worker threads with shared memory primitives for Node.js.
Something went wrong. Try again.
fix: plumb highWaterMark through to stream producer master
dispatchStream was reading opts.highWaterMark into a local but never forwarding it to the worker. Worker-side pipeIterable was defaulting to its own hardcoded 16, so user-supplied highWaterMark had no effect after the atomics refactor. Include highWater in the dispatch message; handleStreamTask passes it to pipeIterable's flags-branch so the producer parks at the requested threshold. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author Devin Ivy Co-author Claude Opus 4.7 (1M context) Date (Apr 20, 2026, 4:22 AM UTC) Commit cc4329a8 cc4329a892d14210a39258db21b6fad2b7e23c7e Parent e343bf0d e343bf0d85181e241d3db15360bb7a080fd71c8d