Skip to main content

Module ShutdownCocoonWithRetry

Module ShutdownCocoonWithRetry 

Source
Expand description

Send $shutdown over gRPC to Cocoon (3 attempts), then SIGKILL the child regardless of gRPC outcome. The hard-kill (Atom I6) is critical: a gRPC failure (transport error, broken pipe) used to leave the child orphaned, holding port 50052, and the next Mountain launch hit EADDRINUSE with the extension host stuck in degraded mode.