| Step | Detail |
|---|---|
| 1 | Stop accepting new HTTP / polling |
| 2 | Finish or park in-flight jobs with a deadline |
| 3 | Flush logs / metrics |
| 4 | Close DB and Redis clients |
| 5 | Exit 0 |
Verify against official documentation before production use.
BotNetwork
Recommended sequence on SIGTERM.
| Step | Detail |
|---|---|
| 1 | Stop accepting new HTTP / polling |
| 2 | Finish or park in-flight jobs with a deadline |
| 3 | Flush logs / metrics |
| 4 | Close DB and Redis clients |
| 5 | Exit 0 |
Verify against official documentation before production use.