Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Fix node cluster for restify - #7511

Merged
NateBrady23 merged 1 commit into
TechEmpower:masterfrom
JHyeok:fix-restify-cluster
Aug 8, 2022
Merged

NateBrady23 merged 1 commit into
TechEmpower:masterfrom
JHyeok:fix-restify-cluster

Conversation

@JHyeok

@JHyeok JHyeok commented Jul 31, 2022

Copy link
Copy Markdown
Contributor

After upgrade the node version to v16, not using all CPU cores.
Because cluster.isMaster is deprecated.

cluster.isMaster added in NODE version v0.8.1 is deprecated since version 16.0.0. Simply replace deprecated cluster.isMaster by cluster.isPrimary

Official information are provided by NODE here: https://nodejs.org/api/cluster.html#clusterismaster

@NateBrady23
NateBrady23 merged commit dea5619 into TechEmpower:master Aug 8, 2022
@JHyeok
JHyeok deleted the fix-restify-cluster branch November 19, 2022 02:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants