Module: Gitlab::Cluster
- Defined in:
- lib/gitlab/cluster/lifecycle_events.rb,
lib/gitlab/cluster/mixins/puma_cluster.rb,
lib/gitlab/cluster/rack_timeout_observer.rb
Defined Under Namespace
Modules: Mixins Classes: LifecycleEvents, RackTimeoutObserver
Constant Summary collapse
- PRIMARY_PID =
We take advantage of the fact that the application is pre-loaded in the primary process. If it’s a pre-fork server like Puma, this will be the Puma master process. Otherwise it is the worker itself such as for Sidekiq.
$$