traxor 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/traxor/rack/middleware/pre.rb +1 -2
- data/lib/traxor/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: f9bb3be3cd714c31348f830f326f0997cf53f71531c2b08c879d4b8d0cd201ec
|
4
|
+
data.tar.gz: 5e329d5acbd69b749364f87e75d19b475a681a28657772bd561cd7f3d3309aa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d3d42c5c360dfd20e85949b35d377594b48674ce561e13af0d8a0e2a341ec7f79bf98ca17aa0b056b5d258d74ab8c99c789776eb82bba4882bf1d1f543a575
|
7
|
+
data.tar.gz: 20caa73408681bf603f7bdd35d5c6e234c3b0d0d5756f730237a2ee8a0f4700ae0cff5e181915453714d94e606f1fc5425b13358b4ae4ca74e42be0da58e5221
|
data/Gemfile.lock
CHANGED
@@ -11,8 +11,7 @@ module Traxor
|
|
11
11
|
queue_duration = nil
|
12
12
|
request_start_ms = env['HTTP_X_REQUEST_START']
|
13
13
|
if request_start_ms
|
14
|
-
|
15
|
-
queue_duration = request_start.to_f - env['traxor.rack.middleware.pre_middleware_start'].to_f
|
14
|
+
queue_duration = request_start_ms.to_f - env['traxor.rack.middleware.pre_middleware_start'].to_f
|
16
15
|
end
|
17
16
|
status, headers, body = @app.call(env)
|
18
17
|
env['traxor.rack.middleware.post_middleware_end'] = Time.now.to_f
|
data/lib/traxor/version.rb
CHANGED