statsig 1.8.4.beta.pre.1 → 1.8.4.beta.pre.2
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 +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bea35d8e01c06aa973c41af533542e10256eb12ff1b8c790affe92d28e6f762
|
4
|
+
data.tar.gz: 183446325403fc29ffafd0ea498557ae56c59d6959a59d5e96a1c88806b57147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 116a1a145265084de0877fda45b017f36eda5eed8a19c093e25588e1f4720ac10ef903dfdc9c6f13ae4989565a8b01e4e20ac2aa3efd661a34e1c16bb91d680b
|
7
|
+
data.tar.gz: aa0d99ff3b38ae0e73f037bf31efc4a364fe0e6831efa6347329f525e38c2148837c19e21768fece6b921fbbe6404664e30d9549aa9d4ace4544519c5830dd8b
|
data/lib/statsig.rb
CHANGED
data/lib/statsig_logger.rb
CHANGED
@@ -13,6 +13,7 @@ module Statsig
|
|
13
13
|
|
14
14
|
def log_event(event)
|
15
15
|
@events.push(event)
|
16
|
+
puts "Statsig:: log_event called, new count: #{@events.length.to_s}"
|
16
17
|
if @events.length >= 500
|
17
18
|
flush
|
18
19
|
end
|
@@ -57,6 +58,7 @@ module Statsig
|
|
57
58
|
end
|
58
59
|
|
59
60
|
def flush(closing = false)
|
61
|
+
puts "Statsig:: calling flush function, count: #{@events.length.to_s}"
|
60
62
|
if closing
|
61
63
|
@background_flush&.exit
|
62
64
|
end
|