Sha256: 731f0d12a364ea699142b3e490d9ba66ef4118f4cde560ca65a58540ef99e897
Contents?: true
Size: 879 Bytes
Versions: 18
Compression:
Stored size: 879 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 # Set this to false in order to disable file-based locking for the Workhorse # shell handlers (all the commands such as 'start', 'stop', ...). # config.lock_shell_commands = true # 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
18 entries across 18 versions & 1 rubygems