Adding Logging Statement to gRPC Server Shutdown (#3006)

This commit is contained in:
LoggingResearch
2024-03-09 03:25:17 +08:00
committed by GitHub
parent 31f29b7297
commit fbd99eb8c4

View File

@@ -98,6 +98,7 @@ public class GRPCApplication {
if (server != null) {
server.shutdown().awaitTermination(30, TimeUnit.SECONDS);
}
log.info("gRPC server stopped");
}
static class HelloService extends HelloServiceGrpc.HelloServiceImplBase {