I suggest not shutting down the server too early if there is a possibility of using it in the future.
On Wednesday, February 27, 2019 at 4:55:05 AM UTC-8, Antoine Pitrou wrote: > > > Hello, > > If I call the Shutdown() method on a grpc::Server instance, is it > possible to start serving again without creating a new Server? > It seems that the Wait() method will return immediately if I call it > again. > > Use case: I have a signal handler that will shutdown the server. > Then, when Wait() returns, I run any Python signal handlers and would > like to restart if they didn't raise an exception. > > Regards > > Antoine. > > > -- 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 grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/bc43c49b-abb0-4c63-955a-f8ba4a157406%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.