class Puma::DSL
def worker_culling_strategy(strategy)
- See: Puma::Cluster#cull_workers -
Other tags:
- Note: - Cluster mode only.
def worker_culling_strategy(strategy) strategy = strategy.to_sym if ![:youngest, :oldest].include?(strategy) raise "Invalid value for worker_culling_strategy - #{strategy}" end @options[:worker_culling_strategy] = strategy end