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