diff options
Diffstat (limited to 'config/puma.example.development.rb')
-rw-r--r-- | config/puma.example.development.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/puma.example.development.rb b/config/puma.example.development.rb index 3164ffe3ef4..71a4e9b36f1 100644 --- a/config/puma.example.development.rb +++ b/config/puma.example.development.rb @@ -67,6 +67,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) |