Files
2026-10-30 12:32:42 +03:00

22 lines
2.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
date: 2026-10-28T17:16:20Z commit: 6468ee2
stop_grace_period: 10s, SHUTDOWN_TIMEOUT_SECONDS: 8
$ два POST /messages в работе (тело отправлено не целиком); docker compose kill --signal SIGTERM api; первому дописать тело через 1 с, второму — никогда; docker wait <api>
запрос, дописанный через 1 с после SIGTERM: HTTP/1.1 201 Created через 1.15 с
запрос, не дописанный никогда: HTTP/1.1 500 Internal Server Error через 7.24 с
остановка за 7.68 с, код завершения 0
$ docker logs <api> | записи об остановке
{"event":"Shutting down","level":"info","ts":"2026-10-28T17:16:21.580367Z"}
{"event":"Shutting down","level":"info","ts":"2026-10-28T17:16:21.597496Z"}
{"event":"Waiting for application shutdown.","level":"info","ts":"2026-10-28T17:16:21.625380Z"}
{"event":"Finished server process [13]","level":"info","ts":"2026-10-28T17:16:21.626805Z"}
{"event":"Waiting for connections to close. (CTRL+C to force quit)","level":"info","ts":"2026-10-28T17:16:21.626825Z"}
{"event":"Waiting for connections to close. (CTRL+C to force quit)","level":"info","ts":"2026-10-28T17:16:21.682577Z"}
{"event":"Waiting for application shutdown.","level":"info","ts":"2026-10-28T17:16:21.701990Z"}
{"event":"Finished server process [14]","level":"info","ts":"2026-10-28T17:16:21.708567Z"}
{"event":"Waiting for application shutdown.","level":"info","ts":"2026-10-28T17:16:22.635466Z"}
{"event":"Finished server process [16]","level":"info","ts":"2026-10-28T17:16:22.642431Z"}
{"event":"Cancel 1 running task(s), timeout graceful shutdown exceeded","level":"error","ts":"2026-10-28T17:16:28.628254Z"}
{"event":"Waiting for application shutdown.","level":"info","ts":"2026-10-28T17:16:28.628314Z"}
{"event":"Finished server process [15]","level":"info","ts":"2026-10-28T17:16:28.629034Z"}
{"event":"Shutting down: Master","level":"info","ts":"2026-10-28T17:16:28.850585Z"}