Commit a037d6a
refactor(@angular-devkit/build-angular): increase JS transformer worker pool idle timeout to 1 second
The idle timeout for threads in the JavaScript transformer worker pool for the esbuild-based builders
(`application`/`browser-esbuild`) is now set at 1 second. This prevents the default of immediate shutdown
of an idle worker from occurring. The immediate shutdown causes additional worker threads to be created
due to the variable time between bundler requests for node module JavaScript files. The shutdown and
subsequent recreation of the threads during the build causes unneeded extra processing that can now be
avoided.
(cherry picked from commit 26c3b82)1 parent 01ab16c commit a037d6a
File tree
1 file changed
+2
-0
lines changed- packages/angular_devkit/build_angular/src/tools/esbuild
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments