We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1391c9 commit 19cb1efCopy full SHA for 19cb1ef
lib/active_insights/engine.rb
@@ -42,7 +42,7 @@ def self.importmap
42
!ActiveInsights.enabled?
43
44
Thread.new do
45
- ActiveRecord::Base.connection_pool.with_connection do
+ Rails.application.executor.wrap do
46
ActiveInsights::Request.
47
setup(started, finished, unique_id, payload)
48
end
0 commit comments