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: 5abcfbfe6bea47808661989e93c06bc5166724b7 (plain)
1
2
3
4
5
# frozen_string_literal: true

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