class RorVsWild::Queue
def initialize(client)
def initialize(client) @jobs = [] @requests = [] @client = client @mutex = Mutex.new @metrics = RorVsWild::Metrics.new if defined?(Metrics) Kernel.at_exit { flush } end
def initialize(client) @jobs = [] @requests = [] @client = client @mutex = Mutex.new @metrics = RorVsWild::Metrics.new if defined?(Metrics) Kernel.at_exit { flush } end