Permalink
Browse files

Fixed a mistype in runMultiple

  • Loading branch information...
1 parent b232a65 commit 0a423ea440c5af45b10db35558b2d0545ddd1365 @penartur committed May 4, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/benchmark.js
View
@@ -181,7 +181,6 @@ BenchmarkContext.prototype.runEngine = function (engineName, over) {
BenchmarkContext.prototype.run = function () {
http.globalAgent.maxSockets = this.simultaneousRequests; //TODO: replace this global state changing with something else
-
var metaQueue = new WorkingQueue(1);
metaQueue.hold();
for (var engineName in this.benchmark.engines) {
@@ -198,7 +197,7 @@ Benchmark.prototype.run = function (simultaneousRequests, callback) {
}
//callback is function(simultaneousRequests, stats)
-Benchmark.prototype.runMultiple = function (simultaneousRequestsList, callback) {
+Benchmark.prototype.runMultiple = function (simultaneousRequestsList, callback, done) {
var queue = new WorkingQueue(1);
queue.hold();
for (var i in simultaneousRequestsList) {

0 comments on commit 0a423ea

Please sign in to comment.