- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GracefulStop (4.09 sec)
-
pilot/pkg/bootstrap/server.go
if s.secureGrpcServer != nil { s.secureGrpcServer.Stop() } close(stopped) } }() s.grpcServer.GracefulStop() if s.secureGrpcServer != nil { s.secureGrpcServer.GracefulStop() } close(stopped) }() t := time.NewTimer(s.shutdownDuration) select { case <-t.C: s.grpcServer.Stop() if s.secureGrpcServer != nil { s.secureGrpcServer.Stop() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
listener, err := net.Listen("tcp", ":0") if err != nil { t.Errorf("failed to allocate unused port %v", err) } go appServer.Serve(listener) defer appServer.GracefulStop() appPort := listener.Addr().(*net.TCPAddr).Port // Starts the pilot agent status server. server := NewTestServer(t, Options{ KubeAppProbers: fmt.Sprintf(` { "/app-health/foo/livez": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0)