Skip to content

Commit

Permalink
fix: pass --experimental-vm-worker-memory-limit to tinypool (#3856)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Aug 1, 2023
1 parent 065a08e commit 3c67a4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vitest/src/node/pools/vm-threads.ts
Expand Up @@ -66,6 +66,7 @@ export function createVmThreadsPool(ctx: Vitest, { execArgv, env }: PoolProcessO
],

terminateTimeout: ctx.config.teardownTimeout,
maxMemoryLimitBeforeRecycle: ctx.config.experimentalVmWorkerMemoryLimit || undefined,
}

if (ctx.config.singleThread) {
Expand Down

0 comments on commit 3c67a4c

Please sign in to comment.