diff options
author | Bert Belder <bertbelder@gmail.com> | 2012-07-12 03:30:04 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-07-12 03:30:04 +0200 |
commit | d2e40f66cc21d38d1c887b45143b6b9de468b903 (patch) | |
tree | 83f89646eee43a29b7d8e136e6665698f0c21a1c /benchmark | |
parent | 1d99441d3742045bdb7b8e8a8d013f81cdba8f40 (diff) | |
parent | b6e916db587f4f2f237e440eb0cebe06f3a3c717 (diff) | |
download | nodejs-d2e40f66cc21d38d1c887b45143b6b9de468b903.tar.gz nodejs-d2e40f66cc21d38d1c887b45143b6b9de468b903.tar.bz2 nodejs-d2e40f66cc21d38d1c887b45143b6b9de468b903.zip |
Merge branch 'v0.6' into v0.8
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/http_simple_cluster.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/http_simple_cluster.js b/benchmark/http_simple_cluster.js index ecc3169ad..9a886f2ee 100644 --- a/benchmark/http_simple_cluster.js +++ b/benchmark/http_simple_cluster.js @@ -3,7 +3,7 @@ var os = require('os'); if (cluster.isMaster) { console.log('master running on pid %d', process.pid); - for (var i = 1, n = os.cpus().length; i < n; ++i) cluster.fork(); + for (var i = 0, n = os.cpus().length; i < n; ++i) cluster.fork(); } else { require(__dirname + '/http_simple.js'); } |