Reputation: 250
export CLUSTER_WORKERS_COUNT=auto(All Available Core)
Need to add this setting.json
Upvotes: 0
Views: 859
Reputation: 36
I think you are using meteor on windows command line .
export CLUSTER_WORKERS_COUNT=auto
so for windows you should use this
set CLUSTER_WORKERS_COUNT=auto
this should resolve your problem
Upvotes: 2
Reputation: 250
I have added this code in main.js
Meteor.startup(() => {
process.env.CLUSTER_WORKERS_COUNT='auto';
});
Upvotes: 1
Reputation: 331
it's not set up in settings.json it's a shell variable https://meteorhacks.com/introducing-multi-core-support-for-meteor/
Upvotes: 0