gRPC version : 1.30.2 (c++)
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609

We use gRPC is synchronous mode and stop our gRPC services with this code

m_server->Shutdown(std::chrono::system_clock::now() + 
std::chrono::seconds(1));
m_server->Wait();

On rare occasions (about once in 1000  tries) the Shutdown() call does NOT 
return and the process just hangs.

Is there anything I missing to have a reliable shutdown of the server?

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/23c1b78e-4150-4b88-a0b8-54c770adb3dbn%40googlegroups.com.

Reply via email to