Sha256: b824a7ba5bbca635ab1b6e15e2fe586fcc136a8a14c70b47c01d519e77fc5572
Contents?: true
Size: 306 Bytes
Versions: 1
Compression:
Stored size: 306 Bytes
Contents
require 'rails' module Delayed class Railtie < Rails::Railtie initializer :after_initialize do puts "attempts #{Delayed::Worker.max_attempts}" Delayed::Backend::ActiveRecord::Job.send(:include, Delayed::Workless::Scaler) if defined?(Delayed::Backend::ActiveRecord::Job) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workless-0.0.4 | lib/workless/railtie.rb |