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

Version Path
workhorse-1.2.24 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.23 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.22 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.21 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.20 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.17 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.17.rc2 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.17.rc1 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.17.rc0 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.16 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.15 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.14 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.13 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.12 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.11 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.10 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.9 lib/generators/workhorse/templates/config/initializers/workhorse.rb
workhorse-1.2.8 lib/generators/workhorse/templates/config/initializers/workhorse.rb