Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitadbb25a

Browse files
authored
fix(browser): resolve thread count frommaxWorkers (#7483)
1 parent8fe641b commitadbb25a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎packages/browser/src/node/pool.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ export function createBrowserPool(vitest: Vitest): ProcessPool {
155155
return1
156156
}
157157

158+
if(project.config.maxWorkers){
159+
returnproject.config.maxWorkers
160+
}
161+
158162
returnvitest.config.watch
159163
?Math.max(Math.floor(numCpus/2),1)
160164
:Math.max(numCpus-1,1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp