But calling Shutdown() is the only way to stop the server, right?

Regards

Antoine.


On Wed, 27 Feb 2019 10:58:07 -0800 (PST)
"yashkt via grpc.io" <[email protected]> wrote:
> 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 [email protected].
To post to this group, send email to [email protected].
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/20190227211206.0d889b12%40fsol.
For more options, visit https://groups.google.com/d/optout.

Reply via email to