diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-14 15:08:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-14 15:08:03 +0300 |
commit | 61a82b8ec062d6f122dadd38783c7754cef7ce2b (patch) | |
tree | 071d1ded4f507d77bac97156aa1fa85c95c0cba5 /config/puma.rb.example | |
parent | 3ed578edf525bce3167860b84f6b43bab5065cf5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/puma.rb.example')
-rw-r--r-- | config/puma.rb.example | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/puma.rb.example b/config/puma.rb.example index c70baf6570e..59844b4aecf 100644 --- a/config/puma.rb.example +++ b/config/puma.rb.example @@ -57,6 +57,11 @@ on_worker_boot do Gitlab::Cluster::LifecycleEvents.do_worker_start end +on_worker_shutdown do + # Signal application hooks that a worker is shutting down + Gitlab::Cluster::LifecycleEvents.do_worker_stop +end + # Preload the application before starting the workers; this conflicts with # phased restart feature. (off by default) preload_app! |