mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Perform quit operations in a useful order in Node perf tests
This commit is contained in:
parent
9579512d35
commit
0ea53cccdd
@ -55,9 +55,8 @@ module.exports = function WorkerServiceImpl(benchmark_impl, server) {
|
||||
}
|
||||
|
||||
this.quitWorker = function quitWorker(call, callback) {
|
||||
server.tryShutdown(function() {
|
||||
callback(null, {});
|
||||
});
|
||||
callback(null, {});
|
||||
server.tryShutdown(function() {});
|
||||
};
|
||||
|
||||
this.runClient = function runClient(call) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user