diff options
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/performance/worker_service_impl.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node/performance/worker_service_impl.js b/src/node/performance/worker_service_impl.js index 79baa1ce69..1439249878 100644 --- a/src/node/performance/worker_service_impl.js +++ b/src/node/performance/worker_service_impl.js @@ -37,6 +37,11 @@ var os = require('os'); var BenchmarkClient = require('./benchmark_client'); var BenchmarkServer = require('./benchmark_server'); +exports.quitWorker = function quitWorker(call, callback) { + callback(null, {}); + process.exit(0); +} + exports.runClient = function runClient(call) { var client; call.on('data', function(request) { |