Improve shutdown order in agent gRPC server
Send GOAWAY and only then signal RPC handlers to abort.
Opened https://github.com/grpc/grpc-go/issues/6830 asking for a clean way to do it.
Edited by Mikhail Mazurskiy
Send GOAWAY and only then signal RPC handlers to abort.
Opened https://github.com/grpc/grpc-go/issues/6830 asking for a clean way to do it.