diff options
author | Igor Drozdov <idrozdov@gitlab.com> | 2021-07-09 14:41:41 +0300 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2021-07-15 14:39:33 +0300 |
commit | 569a0197cacc75270776217c27e9d709907a9dfa (patch) | |
tree | b693a2244f3d715d48df83eac70bdf6630e51d3a /internal/metrics/metrics.go | |
parent | d3711d8d7e781dbff01d8ae5c7a1d5b800c5c8a2 (diff) | |
download | gitlab-shell-569a0197cacc75270776217c27e9d709907a9dfa.tar.gz |
Shutdown sshd gracefully
When interruption signal is sent, we are closing ssh listener to
prevent it from accepting new connections
Then after configured grace period, we cancel the context to
cancel all ongoing operations
Diffstat (limited to 'internal/metrics/metrics.go')
0 files changed, 0 insertions, 0 deletions