Skip to content

Commit 7bb7b9a

Browse files
addaleaxBridgeAR
authored andcommitted
worker: set --experimental-worker always
This is similar to #25361 in functionality, but allows avoiding some backporting pain for v11.x. PR-URL: #25404 Refs: #25361 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 4052aec commit 7bb7b9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/node_options.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class EnvironmentOptions : public Options {
9595
bool experimental_modules = false;
9696
bool experimental_repl_await = false;
9797
bool experimental_vm_modules = false;
98-
bool experimental_worker = false;
98+
bool experimental_worker = true;
9999
bool expose_internals = false;
100100
std::string http_parser =
101101
#ifdef NODE_EXPERIMENTAL_HTTP_DEFAULT

test/parallel/test-bootstrap-modules.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const common = require('../common');
99
const assert = require('assert');
1010

1111
const isMainThread = common.isMainThread;
12-
const kMaxModuleCount = isMainThread ? 56 : 78;
12+
const kMaxModuleCount = isMainThread ? 57 : 78;
1313

1414
assert(list.length <= kMaxModuleCount,
1515
`Total length: ${list.length}\n` + list.join('\n')

0 commit comments

Comments
 (0)