Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: remove child process option #1545

Merged
merged 5 commits into from
Sep 2, 2022
Merged

fix!: remove child process option #1545

merged 5 commits into from
Sep 2, 2022

Conversation

dnalborczyk
Copy link
Collaborator

@dnalborczyk dnalborczyk commented Aug 17, 2022

Description

--useChildProcesses is redundant, has no advantages, and can be replaced with the better option of using worker threads, the current default. It's one less option and less code to maintain.

the child process option also originated at a time where worker threads weren't available in node.js yet, and handler reloading in the in-process mode was buggy and leaking memory.

BREAKING, next major release, v10

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

@dnalborczyk dnalborczyk marked this pull request as ready for review August 18, 2022 00:03
@dnalborczyk dnalborczyk force-pushed the remove-child-process branch 2 times, most recently from d87fdd6 to 0dacf7a Compare August 18, 2022 01:10
@dnalborczyk dnalborczyk force-pushed the remove-child-process branch 4 times, most recently from 041a3a4 to 13ab6b8 Compare August 24, 2022 11:19
@dnalborczyk dnalborczyk merged commit db395dd into master Sep 2, 2022
@dnalborczyk dnalborczyk deleted the remove-child-process branch September 2, 2022 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant