ocean-rails 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/zeromq_logger.rb +2 -0
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b13718e43658a8cbbab59eeea8772fb33e4af6a5
|
4
|
+
data.tar.gz: 93e4ad6542d92d6b618418a619d7500d96aa7849
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c7b16ef3c629ae4f19a59bb62078b31eaf356a8ff2c0d9ad73969aa9544f349e466802230e30a2eade8cce98b6492d65189ff5db800eaf8dfeac3e9403d88e1
|
7
|
+
data.tar.gz: 550c1ce9f07e06a834ecac0ebe3f97b5799e93b660e0488e20e798f84ab44a95bfc2546ef74696f32900c66130fd836ce7246fde9b7919624f0091f2d3f598b8
|
@@ -50,12 +50,14 @@ if Rails.env == 'production' && ENV['NO_ZEROMQ_LOGGING'].blank?
|
|
50
50
|
data[:token] = Thread.current[:x_api_token] if Thread.current[:x_api_token].present?
|
51
51
|
data[:username] = Thread.current[:username] if Thread.current[:username].present?
|
52
52
|
data[:max_age] = Thread.current[:max_age] if Thread.current[:max_age].present?
|
53
|
+
data[:cache_control] = payload[:response].headers['Cache-Control'] if payload[:response].headers['Cache-Control']
|
53
54
|
|
54
55
|
Thread.current[:logdata] = data
|
55
56
|
Thread.current[:filter] = nil
|
56
57
|
Thread.current[:x_api_token] = nil
|
57
58
|
Thread.current[:username] = nil
|
58
59
|
Thread.current[:max_age] = nil
|
60
|
+
Thread.current[:cache_control] = nil
|
59
61
|
end
|
60
62
|
end
|
61
63
|
|
data/lib/ocean/version.rb
CHANGED