Overview
contract/tests/graceful_shutdown.rs covers shutdown at the process level (see CT-67), but Docker sends SIGTERM and then SIGKILLs after a grace period (default 10s) if the process hasn't exited — worth confirming the service's shutdown sequence (draining in-flight requests, closing the Redis/Horizon connections) reliably completes within that window under realistic load.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
contract/tests/graceful_shutdown.rscovers shutdown at the process level (see CT-67), but Docker sends SIGTERM and then SIGKILLs after a grace period (default 10s) if the process hasn't exited — worth confirming the service's shutdown sequence (draining in-flight requests, closing the Redis/Horizon connections) reliably completes within that window under realistic load.Tasks
docs/contract-deployment.mdstop_grace_periodfor docker-compose/orchestration configsAcceptance Criteria
Notes for Contributors
Comment below to be assigned.