Sha256: b16e422a64be3612cf3b57413d69042732f943ecf65586a8e31e99b1280f9822
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 Bytes
Contents
Workhorse.setup do |config| # Set this to false in order to prevent jobs from being automatically # wrapped into a transaction. The built-in workhorse logic will still run # in transactions. config.perform_jobs_in_tx = true # Enable this to specify an alternative callback for handling transactions. # config.tx_callback = proc do |&block| # ActiveRecord::Base.transaction&(&block) # end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workhorse-0.0.2 | lib/generators/workhorse/templates/config/initializers/workhorse.rb |