diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 2d6c3c23940cf2..d70b63bd98558c 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -174,6 +174,7 @@ added: * `maxYoungGenerationSizeMb` {number} * `maxOldGenerationSizeMb` {number} * `codeRangeSizeMb` {number} + * `stackSizeMb` {number} Provides the set of JS engine resource constraints inside this Worker thread. If the `resourceLimits` option was passed to the [`Worker`][] constructor, @@ -584,6 +585,8 @@ changes: recently created objects. * `codeRangeSizeMb` {number} The size of a pre-allocated memory range used for generated code. + * `stackSizeMb` {number} The default maximum stack size for the thread. + Small values may lead to unusable Worker instances. **Default:** `4`. ### Event: `'error'`