Sha256: 5dcf1573a17ee0668d295db05310890fe7f20271e6e33cef23550fe0b99960c4
Contents?: true
Size: 693 Bytes
Versions: 22
Compression:
Stored size: 693 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 and configure this to specify an alternative callback for handling # transactions. # # self.tx_callback = proc do |*args, &block| # ActiveRecord::Base.transaction(*args, &block) # end # Enable and configure this to specify a callback for handling worker # exceptions: # # config.on_exception = proc do |exception| # # Do something with exception, i.e. # # ExceptionNotifier.notify_exception(exception) # end end
Version data entries
22 entries across 22 versions & 1 rubygems