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: close pool with minThreads=0 #584

Merged
merged 2 commits into from
Jun 4, 2024
Merged

fix: close pool with minThreads=0 #584

merged 2 commits into from
Jun 4, 2024

Conversation

Marsup
Copy link
Contributor

@Marsup Marsup commented Jun 3, 2024

When minThreads=0, the worker pool can be completely empty, thus failing with a timeout when trying to close as resolve is never called.

@metcoder95 metcoder95 merged commit 776bacb into piscinajs:current Jun 4, 2024
13 checks passed
@Marsup Marsup deleted the chore/close-pool-minthreads-0 branch June 4, 2024 08:34
@Marsup
Copy link
Contributor Author

Marsup commented Jun 17, 2024

Hi, is there a release planned? Thanks.

@metcoder95
Copy link
Member

Released in v4.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants