mirror of https://github.com/grpc/grpc-java.git
benchmarks: driverServer graceful shutdown (#5033)
This commit is contained in:
parent
f8f86da480
commit
e2e990b01a
|
@ -251,7 +251,7 @@ public class LoadWorker {
|
|||
log.log(Level.INFO, "Received quitWorker request.");
|
||||
responseObserver.onNext(Control.Void.getDefaultInstance());
|
||||
responseObserver.onCompleted();
|
||||
driverServer.shutdownNow();
|
||||
driverServer.shutdown();
|
||||
} catch (Throwable t) {
|
||||
log.log(Level.WARNING, "Error during shutdown", t);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue