Welcome to mirror list, hosted at ThFree Co, Russian Federation.

validate_puma.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 64bd6e7bbc110f9ed6a41b62979da29463d6ef7c (plain)
1
2
3
4
5
# frozen_string_literal: true

if defined?(::Puma) && ::Puma.cli_config.options[:workers].to_i.zero?
  raise 'Puma is only supported in Cluster-mode: workers > 0'
end