scout_apm 1.2.0.pre10 → 1.2.0.pre11

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: c329d301fd9c8155277eb3be6398d8e357284e72
4
- data.tar.gz: de1c84ebc4232d67a1f9e4a7d6e9de1c93b5202a
3
+ metadata.gz: adbd8e298e9d7d01a10d039aee7bb329c9e8c76c
4
+ data.tar.gz: 4b99ca47a3b64f4a6093fe807633818f5ea879ef
5
5
  SHA512:
6
- metadata.gz: dc8796324d43f82e2c54600a97adc8dc3f5dfe2151cb4ca1884167595ab592baff6e71ece59ebdef6b3761ddfe1f58a4df48841426c02f366151c38579659a5c
7
- data.tar.gz: d9d828f8c65d7f0fd3921e581db8cfda64253b4af6d1b2e913daf980061cff650afbead986b24553f18029a58f2416c7e0a1fda8e0268bbb652890471e5e4227
6
+ metadata.gz: e0a30e4e492995478036a4b7bc84938e00bcae80fe859f5eb5f5cfb15965cc30201c87c2cecba4d43b70504d8364db5302e02b0725fb14303baf969c184783d2
7
+ data.tar.gz: 172e1d1563555b07737a628176c023092d0c47addadae5a9cbf7cabf80b712b613823671a3438cba9a6c1d442655b4345cfcbfe456e2d2fda6671ab15403239b
@@ -24,9 +24,9 @@ module ScoutApm
24
24
  report_to_server
25
25
  end
26
26
 
27
- # In a running app, one process will get one period ready for delivery, the others will see 0.
28
- MAX_AGE_TO_REPORT = 10.minutes
27
+ MAX_AGE_TO_REPORT = (10 * 60) # ten minutes as seconds
29
28
 
29
+ # In a running app, one process will get one period ready for delivery, the others will see 0.
30
30
  def report_to_server
31
31
  reporting_periods = layaway.periods_ready_for_delivery
32
32
  reporting_periods.reject! {|rp| rp.timestamp.age_in_seconds > MAX_AGE_TO_REPORT }
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "1.2.0.pre10"
2
+ VERSION = "1.2.0.pre11"
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: 1.2.0.pre10
4
+ version: 1.2.0.pre11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Haynes