5 lines
167 B
Ruby
5 lines
167 B
Ruby
# 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
|