MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / buildInfraDownArgs

Function buildInfraDownArgs

dev/local/runner.ts:393–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391 // delay is not enough: slow-shutdown services (wrangler with containers
392 // takes 10s+ on SIGINT) are still in the foreground when the relaunch
393 // keystrokes arrive, which feeds the command into the dying process's
394 // stdin instead of the shell and leaves the service stopped.
395 const POLL_MS = 500;
396 const ESCALATE_AT_MS = 15_000; // second SIGINT for shutdowns stuck on children
397 const GIVE_UP_AT_MS = 60_000;
398 // Two consecutive idle polls, not one: a service on its way out can briefly
399 // have a shell as its last living descendant, and typing then would feed the

Callers 2

doCleanupFunction · 0.90
cmdStopFunction · 0.90

Calls 1

getAllInfraProfilesFunction · 0.90

Tested by

no test coverage detected