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

Add scheduling policy to cluster.settings #49292

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
cluster: remove comment from bnoordhuis
alexfernandez committed Nov 1, 2023
commit 44213422bb9e2bd4c41f51b726950ad165bcc47d
1 change: 0 additions & 1 deletion lib/internal/cluster/primary.js
Original file line number Diff line number Diff line change
@@ -44,7 +44,6 @@ cluster.SCHED_RR = SCHED_RR; // Primary distributes connections.
let ids = 0;
let initialized = false;

// XXX(bnoordhuis) Fold cluster.schedulingPolicy into cluster.settings?
// XXX(alexfernandez) Folded cluster.schedulingPolicy into cluster.settings.
let schedulingPolicy = process.env.NODE_CLUSTER_SCHED_POLICY;
if (schedulingPolicy === 'rr')