activeinsights 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_insights/engine.rb +2 -0
- data/lib/active_insights/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba9b12cbc1e8d149b38d87f9f1ed83504454cd460917dbd9a4b376be1b076ac4
|
4
|
+
data.tar.gz: 2a9d263f315e786b8ea12d7017e629f1003f0af825007b928591101d44d63178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 974a8bc81700d50ebb6b4348b6f4edbb45e9d16d0aff0af30aa6f6b977e7b945081108b10171b4dfd467b87d66097a086f742294b60b974862cd55ef66553b35
|
7
|
+
data.tar.gz: 4d816b024d1c674ec8f7cb59b8c5a6d63a50a386496fd8126e3c57216ecae0c67df877578fbedce7a5e1c4aee46a11830a1048adfcb575d74a3296da35fd1fb6
|
@@ -20,6 +20,8 @@ module ActiveInsights
|
|
20
20
|
ActiveSupport::Notifications.
|
21
21
|
subscribe("process_action.action_controller") do |_name,
|
22
22
|
started, finished, unique_id, payload|
|
23
|
+
next if Rails.env.development?
|
24
|
+
|
23
25
|
Thread.new do
|
24
26
|
ActiveRecord::Base.connection_pool.with_connection do
|
25
27
|
ActiveInsights::Request.create!(
|