Sha256: fa30b6494ffb58d4eee5703d410d151719c3bc402b71d35f91c4490cbb010a5f
Contents?: true
Size: 546 Bytes
Versions: 2
Compression:
Stored size: 546 Bytes
Contents
module MultiWorker module Adapters class TorqueboxBackgroundable def self.configure(base, opts={}) base.class_eval do include ::TorqueBox::Messaging::Backgroundable def self.perform(*args) self.new.perform(*args) end def self.perform_async(*args) perform(*args) end def perform_async(*args) perform(*args) end always_background :perform_async end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
multi_worker-0.2.0 | lib/multi_worker/adapters/torquebox_backgroundable.rb |
multi_worker-0.1.0 | lib/multi_worker/adapters/torquebox_backgroundable.rb |