Skip to content

Commit 8161ee6

Browse files
authored
Fix E2E workers count by CPU (#2870)
1 parent f80cf8c commit 8161ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dotenv.config({path: ROOT_ENV_PATH});
1313

1414
let maxWorkers = process.env.E2E_MAX_WORKERS
1515
? parseInt(process.env.E2E_MAX_WORKERS, 10)
16-
: os.cpus().length.toString();
16+
: os.cpus().length;
1717

1818
if (process.env.CI === 'true' && !process.env.E2E_MAX_WORKERS) {
1919
maxWorkers = 6;

0 commit comments

Comments
 (0)