Skip to content

Commit

Permalink
Supposedly this works out of the box now
Browse files Browse the repository at this point in the history
  • Loading branch information
miharekar committed Mar 30, 2024
1 parent 62b5815 commit 63dde91
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions app/jobs/application_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,4 @@ class ApplicationJob < ActiveJob::Base
retry_on ActiveRecord::Deadlocked

discard_on ActiveJob::DeserializationError, ActiveStorage::IntegrityError

rescue_from(Exception) do |exception|
Appsignal.send_error(exception)
raise exception
end
end
1 change: 0 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
config.cache_store = :redis_cache_store, {url: ENV["CACHE_REDIS_URL"]}

config.active_job.queue_adapter = :solid_queue
config.solid_queue.on_thread_error = ->(error) { Appsignal.send_error(error) }

config.action_mailer.perform_caching = false

Expand Down

0 comments on commit 63dde91

Please sign in to comment.