Snakepit.RuntimeCleanup (Snakepit v0.8.7)

View Source

Deterministic shutdown cleanup for external worker processes.

This module performs a bounded cleanup pass:

  • SIGTERM all known worker processes
  • Wait until they exit or timeout
  • Escalate to SIGKILL for survivors

Summary

Functions

cleanup_current_run(opts \\ [])

run(entries, opts \\ [])