Skip to content

Commit

Permalink
Remove deprecated Sentry async
Browse files Browse the repository at this point in the history
This feature will be removed in a future version of Sentry, and it might be a source of some Redis memory problems (which have been and maybe still are a problem for P&E Dashboard). See getsentry/sentry-ruby#1522
  • Loading branch information
ragesoss committed Aug 8, 2022
1 parent 771581e commit 08cf347
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Sentry.init do |config|
config.dsn = ENV['sentry_dsn']
config.enabled_environments = %w[development staging production test]
config.async = lambda { |event| SentryWorker.perform_async(event.to_hash) }
end

0 comments on commit 08cf347

Please sign in to comment.