statsig 1.8.3 → 1.8.4.beta.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/statsig.rb +1 -1
- data/lib/statsig_logger.rb +5 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e0d1d1530c323ccc58ea83da7a0c305692b51defa32071ee3f842d1519bb16b
|
4
|
+
data.tar.gz: e0d5018bbfd6f8c3dbe4fc099039d729d270d1ea5df8d5f59dbb72e56772da30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9aa5bcf5d281709982ab3c325043cfcea99118e36bf2d82d11fd75995ad4a1e1f8f3e3e1a087652432ae5b6d0f15ee3a1a5deebff6f8d557ede16167edf72250
|
7
|
+
data.tar.gz: b1d95b28521991e9a247f181b16ce7652158bf713e230aca0a2c4ebc1752c6a2e317223e50e69caaa2b1b9751d85b7e6db3de5d70e5dc1750ca41009e52ec0a8
|
data/lib/statsig.rb
CHANGED
data/lib/statsig_logger.rb
CHANGED
@@ -44,10 +44,14 @@ module Statsig
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def periodic_flush
|
47
|
+
puts "Statsig:: starting a thread"
|
47
48
|
Thread.new do
|
48
49
|
loop do
|
50
|
+
puts "Statsig:: beginning to sleep for 60 seconds"
|
49
51
|
sleep 60
|
52
|
+
puts "Statsig:: finished sleeping"
|
50
53
|
flush
|
54
|
+
puts "Statsig:: flushed"
|
51
55
|
end
|
52
56
|
end
|
53
57
|
end
|
@@ -59,6 +63,7 @@ module Statsig
|
|
59
63
|
if @events.length == 0
|
60
64
|
return
|
61
65
|
end
|
66
|
+
puts "Statsig:: flushing events, count: #{@events.length.to_s}"
|
62
67
|
flush_events = @events.map { |e| e.serialize }
|
63
68
|
@events = []
|
64
69
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statsig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.4.beta.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Statsig, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -141,9 +141,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
|
-
- - "
|
144
|
+
- - ">"
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
146
|
+
version: 1.3.1
|
147
147
|
requirements: []
|
148
148
|
rubygems_version: 3.2.3
|
149
149
|
signing_key:
|