Skip to content

Commit e58cbba

Browse files
committed
Revert "fix(@angular/build): increase worker idle timeout"
This reverts commit 1d76d0e.
1 parent 167a292 commit e58cbba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/angular/build/src/utils/worker-pool.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export class WorkerPool extends Piscina {
1515
constructor(options: WorkerPoolOptions) {
1616
const piscinaOptions: WorkerPoolOptions = {
1717
minThreads: 1,
18-
// Workaround for https://github.com/piscinajs/piscina/issues/816
19-
idleTimeout: 10_000,
18+
idleTimeout: 1000,
2019
// Web containers do not support transferable objects with receiveOnMessagePort which
2120
// is used when the Atomics based wait loop is enable.
2221
atomics: process.versions.webcontainer ? 'disabled' : 'sync',

0 commit comments

Comments
 (0)