We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9927d3 commit 304b34cCopy full SHA for 304b34c
internal/mode/static/nginx/agent/command.go
@@ -193,8 +193,6 @@ func (cs *commandService) Subscribe(in pb.CommandService_SubscribeServer) error
193
}
194
195
196
-// TODO(sberman): current issue: when control plane restarts, agent doesn't re-establish a CreateConnection call,
197
-// so this fails.
198
func (cs *commandService) waitForConnection(
199
ctx context.Context,
200
gi grpcContext.GrpcInfo,
internal/mode/static/nginx/agent/grpc/grpc.go
@@ -82,7 +82,7 @@ func (g *Server) Start(ctx context.Context) error {
82
go func() {
83
<-ctx.Done()
84
g.logger.Info("Shutting down GRPC Server")
85
- server.GracefulStop()
+ server.Stop()
86
}()
87
88
return server.Serve(listener)
0 commit comments