amplitude-experiment 1.2.3 → 1.2.4

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: be0a173d9b7f4a54d8a800741ff6801d1ba62a64f33b8e8539be84ab5f91303d
4
- data.tar.gz: 4b7afd4ffec350c766f0001c9b6a0a01910d2bba780f034c64dbdcdeaa05b702
3
+ metadata.gz: 63ef7a08ffb4bb4b179da3f088c12598d2212ba7edd35a2f48ebb029420f33c0
4
+ data.tar.gz: c46a6553343175e1bda5287907f565009217b58a97b611684eb5afe073ea58ab
5
5
  SHA512:
6
- metadata.gz: 9db6116fe99732edb6f15f4e4adb9df4f58ab9fa9ceea9f21c25e54b05bbdc7f1bfbb1cce15b65f53b22896ab0bf5edac4ef1969668fa7ffaf3280be10811551
7
- data.tar.gz: cb6aec3974925f334a7a769ea24fbc67a7060d39ddc697af8f9e2d388da7cde447775440e41c0fa15d9bef921c4e9ead381477cbbdfb5350128ece95455a4a13
6
+ metadata.gz: f127b8d728912018fa3d4f2a96c091f474f71b38d5f4d72ca06076f52204c6999511a2e65f2f43ba1ad7ab4f92906ba3c827343bf7c1af0085d766b46df6f8ba
7
+ data.tar.gz: 29d5c170df67401d9f43f8a2fa5c689693ef535cb4977aa799fc6c3d61194df304d203f2dfd5b921a8cb3ff0b32defeaa4b064d370886b410f2e4bc1260f03cb
@@ -88,9 +88,13 @@ module AmplitudeExperiment
88
88
 
89
89
  def run
90
90
  @is_running = true
91
- flags = @fetcher.fetch_v1
92
- @flags_mutex.synchronize do
93
- @flags = flags
91
+ begin
92
+ flags = @fetcher.fetch_v1
93
+ @flags_mutex.synchronize do
94
+ @flags = flags
95
+ end
96
+ rescue StandardError => e
97
+ @logger.error("[Experiment] Flag poller - error: #{e.message}")
94
98
  end
95
99
  @poller_thread = Thread.new do
96
100
  sleep(@config.flag_config_polling_interval_millis / 1000.to_f)
@@ -1,3 +1,3 @@
1
1
  module AmplitudeExperiment
2
- VERSION = '1.2.3'.freeze
2
+ VERSION = '1.2.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amplitude-experiment
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amplitude
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-25 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby