lib/dyno_scaler/configuration.rb
##
# Contains the max amount of workers that are allowed to run concurrently
#
# @return [Fixnum] default: 1
Contains the max amount of workers that are allowed to run concurrently
Contains the max amount of workers that are allowed to run concurrently
def default_async_processor
        require 'girl_friday'
        queue = GirlFriday::WorkQueue.new(nil, :size => 1) do |options|
          DynoScaler.manager.scale_with(options)
        end
        Proc.new { |options| queue << options }
      end
def default_async_processor require 'girl_friday' queue = GirlFriday :: WorkQueue . new ( nil , :size => 1 ) do | options | DynoScaler . manager . scale_with ( options ) end Proc . new { | options | queue << options } end
Contains the max amount of workers that are allowed to run concurrently
Contains the max amount of workers that are allowed to run concurrently
None
Fixnum