Implement graceful shutdown
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do?
This MR relates to Gracefully shutdown SDRS
in gitlab-org/gitlab#525005 (closed) and addresses !13 (comment 2390313286).
It handles interrupt and kill signals for graceful shutdown and ensures that open connections have been closed by a given context with a timeout of 30 seconds.
What are the relevant issue numbers?
gitlab-org/gitlab#525005 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Ensure the report version matches the equivalent schema version -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Craig Smith