MCPcopy Create free account
hub / github.com/cortexproject/cortex / StopAsync

Method StopAsync

pkg/util/services/manager.go:88–96  ·  view source on GitHub ↗

StopAsync initiates service shutdown if necessary on all the services being managed.

()

Source from the content-addressed store, hash-verified

86
87// StopAsync initiates service shutdown if necessary on all the services being managed.
88func (m *Manager) StopAsync() {
89 if m == nil {
90 return
91 }
92
93 for _, s := range m.services {
94 s.StopAsync()
95 }
96}
97
98// IsHealthy returns true if all services are currently in the Running state.
99func (m *Manager) IsHealthy() bool {

Calls

no outgoing calls