sqreen 1.15.8.beta1 → 1.15.8.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sqreen/js/mini_racer_adapter.rb +0 -3
- data/lib/sqreen/version.rb +1 -1
- 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: 4a325c92019e0cc4dc493e1d423dcbde89be7a85858a1663cc4f1855db3fa0dc
|
4
|
+
data.tar.gz: 6c768015c1bf5071e50027880fc63934c289d5f3c7a8768b1fcac9de1018eecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96074d97e1dff19a5584e1cd5b856caf1c5c9aa0f8736c10063415c22acf1a69bf6839a771dc53cb3dbf09e7b2fc6cbe3b5e1c0a56c41fc020bb5b1414801123
|
7
|
+
data.tar.gz: 8676acbdb3e92710f01c9a03bcb816d3d8d50bc889b383d9bd4b58e38918a63d7e7765e69855877c80184a1e19cf6f3ff59c00fc8ab26f3a46fc53a153d3556b
|
@@ -256,14 +256,11 @@ module Sqreen
|
|
256
256
|
end
|
257
257
|
|
258
258
|
def possibly_gc
|
259
|
-
Sqreen.log.warn("Heap usage: #{heap_stats[:total_heap_size]} for #{object_id}")
|
260
|
-
|
261
259
|
@gc_threshold_in_bytes = DEFAULT_GC_THRESHOLD
|
262
260
|
@gc_load ||= 0
|
263
261
|
|
264
262
|
# garbage collections max 1 in every 4 calls (avg)
|
265
263
|
if heap_stats[:total_heap_size] > @gc_threshold_in_bytes
|
266
|
-
Sqreen.log.warn("Doing low memory notification for context")
|
267
264
|
low_memory_notification
|
268
265
|
@gc_load += 4
|
269
266
|
else
|
data/lib/sqreen/version.rb
CHANGED