Sha256: a517cf454a0afcdfdbe5a04f48e595c73cb2728378443626439c7f6d5f00e851
Contents?: true
Size: 471 Bytes
Versions: 18
Compression:
Stored size: 471 Bytes
Contents
module Rollbar module Delay class GirlFriday class << self attr_accessor :queue def call(payload) new.call(payload) end end def queue_class ::GirlFriday::WorkQueue end def call(payload) self.class.queue = queue_class.new(nil, :size => 5) do |payload| Rollbar.process_payload_safely(payload) end self.class.queue.push(payload) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems