diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index b5d32212117c02..edceadc05b6538 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -172,6 +172,7 @@ added: v13.2.0 * `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, @@ -574,6 +575,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'`