rails_performance 1.4.0.alpha2 → 1.4.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_performance/engine.rb +4 -1
- data/lib/rails_performance/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: 05d2e2b2c1b69d3c41d7208b746af12d1ae6e8ae2c305c35e066636f9fc6946f
|
4
|
+
data.tar.gz: 3b6611e09e42154d80151466badef9b98060e6215d959ffccc6f271023193c45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 054226e9584b58d19ab43773da49cbf7d1d4ee7c2358808ed7f749d786efb8f95a10aa6cfa4976b2b6fadfa143828dcd98f5408b209d89dd3855fa4bd5e4352e
|
7
|
+
data.tar.gz: fc7e826a68e0ed7d17ab48bd391a97daa2e06a8b12aac47000dfc29c4217acd59118e0b5fe0ce65111dff5ce6b6b31838f98736855994b2a3b69cae9e6f2cef7
|
@@ -52,7 +52,10 @@ module RailsPerformance
|
|
52
52
|
RailsPerformance._resource_monitor.stop_monitoring
|
53
53
|
RailsPerformance._resource_monitor = nil
|
54
54
|
# start background monitoring
|
55
|
-
RailsPerformance._resource_monitor = RailsPerformance::Extensions::ResourceMonitor.new(
|
55
|
+
RailsPerformance._resource_monitor = RailsPerformance::Extensions::ResourceMonitor.new(
|
56
|
+
ENV["RAILS_PERFORMANCE_SERVER_CONTEXT"].presence || "sidekiq",
|
57
|
+
ENV["RAILS_PERFORMANCE_SERVER_ROLE"].presence || "background"
|
58
|
+
)
|
56
59
|
end
|
57
60
|
end
|
58
61
|
end
|