Add quit option to Node.js worker

pull/5008/head
Vijay Pai 9 years ago
parent 2ed337aab3
commit d99ed6b636
  1. 5
      src/node/performance/worker_service_impl.js

@ -36,6 +36,11 @@
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) {

Loading…
Cancel
Save