Skip to content
Snippets Groups Projects
Commit d99ed6b6 authored by Vijay Pai's avatar Vijay Pai
Browse files

Add quit option to Node.js worker

parent 2ed337aa
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment