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

Function DisableSignalHandling

pkg/cortex/server_service.go:58–60  ·  view source on GitHub ↗

DisableSignalHandling puts a dummy signal handler

(config *server.Config)

Source from the content-addressed store, hash-verified

56
57// DisableSignalHandling puts a dummy signal handler
58func DisableSignalHandling(config *server.Config) {
59 config.SignalHandler = make(ignoreSignalHandler)
60}
61
62type ignoreSignalHandler chan struct{}
63

Callers 1

initServerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected