INNER CODE UNIT · Go
restartPolicyTimeout
nicholas-fedor/watchtower · cmd/root.go:39
restartPolicyTimeout = 5 * time.Second
// containerLookupTimeout is the maximum duration allowed for current
// container ID lookups.
//
// It bounds the Docker API / hostname / mountinfo detection sequence,
// so startup cannot hang indefinitely if the daemon or container runtime
// metadata is unreachable.
containerLookupTimeout = 5 * time.Second
)
var (
// appCfg is the resolved process configuration from appconfig.Load.
//
// It is the single source of operational policy for run-once, schedule, and API paths.
// Values originate from CLI flags and environment variables registered in internal/flags
// and are resolved once at startup (and again in run when positional container names apply).
appCfg appConfig.Config