Skip to content

Commit

Permalink
scripting/v8: CRITICAL server bug fix: set thread pool size for serve…
Browse files Browse the repository at this point in the history
…r Node.js, fixing GC not occurring
  • Loading branch information
blattersturm committed Jan 9, 2020
1 parent ec93b87 commit fbd5c11
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2155,7 +2155,7 @@ void V8ScriptGlobals::Initialize()
m_platform = std::unique_ptr<v8::Platform>(v8::platform::NewDefaultPlatform(0, platform::IdleTaskSupport::kDisabled, platform::InProcessStackDumping::kDisabled));
V8::InitializePlatform(m_platform.get());
#else
auto platform = node::InitializeV8Platform(0);
auto platform = node::InitializeV8Platform(4);
m_platform = std::unique_ptr<v8::Platform>(platform);
#endif

Expand Down

0 comments on commit fbd5c11

Please sign in to comment.