diff options
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! |