Re: [grpc-io] grpc-java graceful channel shutdown

2017-04-13 Thread 'Eric Anderson' via grpc.io
+zhangkun, as FYI for RoundRobinLoadBalancer On Tue, Apr 4, 2017 at 7:05 PM, wrote: > Is there a way to command a channel to gracefully shutdown, waiting for > any active calls to complete before terminating the link? > I expected channel.shutdown() to work this way. >

[grpc-io] grpc-java graceful channel shutdown

2017-04-04 Thread dan . jasek
Is there a way to command a channel to gracefully shutdown, waiting for any active calls to complete before terminating the link? I expected channel.shutdown() to work this way. However, it appears to forcefully kill all active calls after 5 seconds with UNAVAILABLE (Channel requested