devcycle-ruby-server-sdk 2.3.2 → 2.3.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1593a36e4c3b19e98bfca0b2b22be6c18ec5728e6a41b9dd87cc304de0d0d710
|
4
|
+
data.tar.gz: 607694a1ffdf94f5792e8d47c38393da6f31bcc01c7ca95dbe89ae4a727bed44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e24743e855aa975a958104a037a462b32d83c6b33107b10d3880577915b530815d609524db3818d56284c8985f207f38442a9b826f4bcff47b67f34cc2a95692
|
7
|
+
data.tar.gz: 031647ab1a87ff06c6576e768e976ad220160eb00fad9ac9052d9206589ed0fe84b0494208ed69989da6c1d75ea971583a2817bef4f284a1f808c0358b9da631
|
@@ -58,7 +58,7 @@ module DevCycle
|
|
58
58
|
end
|
59
59
|
|
60
60
|
@max_config_retries.times do
|
61
|
-
@logger.debug("Requesting
|
61
|
+
@logger.debug("Requesting new config from #{get_config_url}, current etag: #{@config_e_tag}")
|
62
62
|
resp = req.run
|
63
63
|
@logger.debug("Config request complete, status: #{resp.code}")
|
64
64
|
case resp.code
|
@@ -66,8 +66,9 @@ module DevCycle
|
|
66
66
|
@logger.debug("Config not modified, using cache, etag: #{@config_e_tag}")
|
67
67
|
break
|
68
68
|
when 200
|
69
|
-
@logger.
|
69
|
+
@logger.info("New config received, etag: #{resp.headers['Etag']}")
|
70
70
|
set_config(resp.body, resp.headers['Etag'])
|
71
|
+
@logger.info("New config stored, etag: #{@config_e_tag}")
|
71
72
|
break
|
72
73
|
when 403
|
73
74
|
stop_polling
|
@@ -92,7 +93,6 @@ module DevCycle
|
|
92
93
|
|
93
94
|
@local_bucketing.store_config(config)
|
94
95
|
@config_e_tag = etag
|
95
|
-
@logger.debug("Config stored, etag: #{@config_e_tag}")
|
96
96
|
@local_bucketing.has_config = true
|
97
97
|
end
|
98
98
|
|