We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cluster.isPrimary
cluster.isMaster
1 parent 6adaf4c commit 35c9615Copy full SHA for 35c9615
benchmark/cluster/echo.js
@@ -1,7 +1,7 @@
1
'use strict';
2
3
const cluster = require('cluster');
4
-if (cluster.isMaster) {
+if (cluster.isPrimary) {
5
const common = require('../common.js');
6
const bench = common.createBenchmark(main, {
7
workers: [1],
benchmark/http/cluster.js
@@ -4,7 +4,7 @@ const PORT = common.PORT;
let bench;
8
bench = common.createBenchmark(main, {
9
// Unicode confuses ab on os x.
10
type: ['bytes', 'buffer'],
0 commit comments