traxor 0.1.8 → 0.1.9
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 -1
- 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: fc441e258d65128f73742b99a5dd49d1f0ad654528189e34825b9b2fedca49a2
|
4
|
+
data.tar.gz: 70f8d1a29de23867a061e661c7eba14dd96de6c1ec8013120e82f059c13242a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd980ca09c39cb63998bb4071d6b36b1eaf2b2be84a066ce37ee484d4e2f70f797f5752e1b1e4821513fff6baf4cb3851df67bcda94f65a2d567b1a8f18225b6
|
7
|
+
data.tar.gz: ed7f010baf4cfd0642b07fa8987267da6f0f5f52a64f223f603abb90a7a419b7e73df6a38471e089526ed6c0a07713e3f4be6c6a19bdc340fde3b664df72b9a4
|
data/Gemfile.lock
CHANGED
@@ -11,7 +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
|
-
queue_duration = env['traxor.rack.middleware.pre_middleware_start'].to_f - request_start_ms.to_f
|
14
|
+
queue_duration = (env['traxor.rack.middleware.pre_middleware_start'].to_f * 1_000) - request_start_ms.to_f
|
15
15
|
end
|
16
16
|
status, headers, body = @app.call(env)
|
17
17
|
env['traxor.rack.middleware.post_middleware_end'] = Time.now.to_f
|
data/lib/traxor/version.rb
CHANGED