diff options
author | Stan Hu <stanhu@gmail.com> | 2018-06-11 21:45:11 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-06-11 21:50:32 -0700 |
commit | e9d4b08dc2cde4477e77f5ad4b2e9efad47fbf71 (patch) | |
tree | c74a23afba56e032dc79bfdfc4412874f21dd3ba /Gemfile.lock | |
parent | 26c9d71666d0350b17431a75d8c31d0316bd7220 (diff) | |
download | gitlab-ce-e9d4b08dc2cde4477e77f5ad4b2e9efad47fbf71.tar.gz |
Clean up stale Prometheus metrics in before_exec unicorn hooksh-update-unicorn-rb-example
Issuing a SIGUSR2 to a unicorn involves a dance where new workers are
spun up before the old ones are shut down. To ensure Prometheus
.db files aren't deleted after the new workers are shut down, we
need to clean these files up before the unicorn process is run.
Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/2582
Diffstat (limited to 'Gemfile.lock')
0 files changed, 0 insertions, 0 deletions