Add lifecycle hook for worker stop event
This will be used soon in order to produce heap dumps when a worker was terminated due to high memory use.
显示
- config/initializers/sidekiq.rb 4 个添加, 0 个删除config/initializers/sidekiq.rb
- config/puma.example.development.rb 5 个添加, 0 个删除config/puma.example.development.rb
- config/puma.rb.example 5 个添加, 0 个删除config/puma.rb.example
- lib/gitlab/cluster/lifecycle_events.rb 17 个添加, 0 个删除lib/gitlab/cluster/lifecycle_events.rb
- spec/lib/gitlab/cluster/lifecycle_events_spec.rb 38 个添加, 21 个删除spec/lib/gitlab/cluster/lifecycle_events_spec.rb
想要评论请 注册 或 登录