Skip to content

Commit

Permalink
fixed benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech committed Dec 10, 2016
1 parent 08f3672 commit a696895
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmark/async.bench.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

var Hemera = require('../'),
nsc = require('./../test/support/nats_server_control'),
nsc = require('hemera-testsuite'),
Code = require('code'),
Async = require("async");

Expand All @@ -22,11 +22,11 @@ var server = nsc.start_server(PORT, flags, () => {
}, (resp, cb) => {

setTimeout(() => {

cb(null, {
result: resp.a + resp.b
});

}, 1000)

});
Expand Down Expand Up @@ -69,4 +69,4 @@ var server = nsc.start_server(PORT, flags, () => {
});


});
});

0 comments on commit a696895

Please sign in to comment.