BotNetwork

Drain webhook traffic before hard restarts

Readiness fail + grace period beats killing in-flight ACKs.

Published 1 min read

Takeaway

Drain, then restart.

Why

Hard kills mid-ACK cause platform retries and duplicate side effects.

Do this

  1. Mark not-ready.
  2. Wait for in-flight handlers up to your grace.
  3. Exit cleanly on SIGTERM.

Tools