Skip to content
Permalink
Browse files

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>
  • Loading branch information...
addaleax authored and BridgeAR committed Jan 9, 2019
1 parent 4052aec commit 7bb7b9a61f677a6104934e0cd6ce18f36b24b432
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/node_options.h
  2. +1 −1 test/parallel/test-bootstrap-modules.js
@@ -95,7 +95,7 @@ class EnvironmentOptions : public Options {
bool experimental_modules = false;
bool experimental_repl_await = false;
bool experimental_vm_modules = false;
bool experimental_worker = false;
bool experimental_worker = true;
bool expose_internals = false;
std::string http_parser =
#ifdef NODE_EXPERIMENTAL_HTTP_DEFAULT
@@ -9,7 +9,7 @@ const common = require('../common');
const assert = require('assert');

const isMainThread = common.isMainThread;
const kMaxModuleCount = isMainThread ? 56 : 78;
const kMaxModuleCount = isMainThread ? 57 : 78;

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

0 comments on commit 7bb7b9a

Please sign in to comment.
You can’t perform that action at this time.