fluidfeatures 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -138,8 +138,6 @@ module FluidFeatures
|
|
138
138
|
def send_transcations
|
139
139
|
bucket = remove_bucket
|
140
140
|
|
141
|
-
ff_latency = app.client.last_fetch_duration
|
142
|
-
|
143
141
|
# Take existing unknown features and reset
|
144
142
|
unknown_features = nil
|
145
143
|
@unknown_features_lock.synchronize do
|
@@ -158,7 +156,6 @@ module FluidFeatures
|
|
158
156
|
:client_uuid => app.client.uuid,
|
159
157
|
:transactions => bucket,
|
160
158
|
:stats => {
|
161
|
-
:ff_latency => ff_latency,
|
162
159
|
:waiting_buckets => remaining_buckets_stats
|
163
160
|
},
|
164
161
|
:unknown_features => unknown_features,
|
data/lib/fluidfeatures/client.rb
CHANGED
@@ -10,7 +10,7 @@ require "fluidfeatures/app"
|
|
10
10
|
module FluidFeatures
|
11
11
|
class Client
|
12
12
|
|
13
|
-
attr_accessor :uuid, :base_uri, :logger
|
13
|
+
attr_accessor :uuid, :base_uri, :logger
|
14
14
|
|
15
15
|
API_REQUEST_LOG_MAX_SIZE = 200
|
16
16
|
|
@@ -244,10 +244,10 @@ module FluidFeatures
|
|
244
244
|
gz_writer.write(content)
|
245
245
|
gz_writer.close
|
246
246
|
content = compressed.string
|
247
|
+
request["Content-Encoding"] = encoding
|
247
248
|
end
|
248
249
|
|
249
250
|
request["Content-Type"] = "application/json"
|
250
|
-
request["Content-Encoding"] = encoding
|
251
251
|
request.body = content
|
252
252
|
|
253
253
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluidfeatures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: persistent_http
|