MCPcopy Create free account
hub / github.com/One-com/gone / ShutdownTimeout

Function ShutdownTimeout

daemon/run.go:96–100  ·  view source on GitHub ↗

ShutdownTimeout is an option to Run() to control the default timeout value for graceful shutdowns. This is used when OS signals or similar crude interface triggers a graceful shutdown. Using a control socket you can provide the timeout duration at shutdown time.

(to time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

RunOptionFuncType · 0.85

Tested by

no test coverage detected