| Step | Action |
|---|---|
| Stop accepting work | Close HTTP server / stop polling |
| Flush | Finish in-flight jobs with a deadline |
| Close clients | DB, Redis, Gateway connections |
| Exit | process.exit after cleanup |
Verify against official documentation before production use.
Notes
What to close when the orchestrator stops your process. Re-check values in the current official platform documentation before you ship; vendors change limits without notice.
- Treat this sheet as a checklist, not a substitute for the vendor spec.
- Prefer linking to your own runbook section that cites the doc URL and date you verified.
- When a limit is soft or approximate (for example ACK windows), design for the stricter bound you measured in staging.