scout_apm 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 770f0acea98f30f7f4570508e8c201ceb71379a2
4
- data.tar.gz: 4dc11c5e1c1a3698289b47afdca5196eab34af97
3
+ metadata.gz: 9b8e456f2a8aa317fd9b2c6fdcbdd0b1fe5a5609
4
+ data.tar.gz: 5cff8d270a43db7458ccc0e3cb1ce69b9080f30d
5
5
  SHA512:
6
- metadata.gz: 93e693126ea5e57db211239a75c7b15b44167be537db497da1ab76b386454f0c4aa8eabc8aa4d53b3b984c2b0129daa8356b2d2048be8786f72f67aba6fb96cd
7
- data.tar.gz: d22ae6cd7fe2c0d96fe554e4880c57ec5e901942094f652e996253f2cbad8564308908a5bb5924e0056bed72156ceef373bf7a3884162689cd98ae13193fdd17
6
+ metadata.gz: b64cc8052ef1a8aa7a23873f4c554bebedab4c33ec94f6c5cb1b76e918ba0c95e5d015666e95d3a1efe4bf658e0e652f0ca8390ebee949fb66e1b5cb0b280e73
7
+ data.tar.gz: feea8fc217559d5aad2ee4e53727f300bb50b37f515b2c97ec120be029014cb51b3890179681c6e7833045150a06512b3ac0e950f2fab2cb6cc78ee7d996e133
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.4.3
2
+
3
+ * Ensure a startup hook runs on forking webservers
4
+
1
5
  # 2.4.2
2
6
 
3
7
  * Fix shutdown hook for Passenger
@@ -48,13 +48,6 @@ module ScoutApm
48
48
  context.installed!
49
49
 
50
50
  if ScoutApm::Agent::Preconditions.check?(context) || force
51
- # XXX: Should this happen at application start?
52
- # Should this ever happen after fork?
53
- # We start a thread in this, which can screw stuff up when we then fork.
54
- #
55
- # Save it into a variable to prevent it from ever running twice
56
- @app_server_load ||= AppServerLoad.new(context).run
57
-
58
51
  start
59
52
  end
60
53
  end
@@ -75,6 +68,9 @@ module ScoutApm
75
68
 
76
69
  log_environment
77
70
 
71
+ # Save it into a variable to prevent it from ever running twice
72
+ @app_server_load ||= AppServerLoad.new(context).run
73
+
78
74
  start_background_worker
79
75
  end
80
76
 
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "2.4.2"
2
+ VERSION = "2.4.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Haynes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-01-16 00:00:00.000000000 Z
12
+ date: 2018-01-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest