goat 0.3.29 → 0.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/state-srv +9 -2
- data/goat.gemspec +1 -1
- metadata +3 -3
data/bin/state-srv
CHANGED
|
@@ -359,7 +359,12 @@ module Goat
|
|
|
359
359
|
end
|
|
360
360
|
|
|
361
361
|
def run
|
|
362
|
-
|
|
362
|
+
if ObjectSpace.respond_to?(:live_objects)
|
|
363
|
+
Goat.logd "Sweeping. Live objects: #{ObjectSpace.live_objects}"
|
|
364
|
+
else
|
|
365
|
+
Goat.logd "Sweeping"
|
|
366
|
+
end
|
|
367
|
+
|
|
363
368
|
@registry.connected_pages.each do |pgid|
|
|
364
369
|
if @registry.last_connected_delta(pgid) > (60 * 60)
|
|
365
370
|
Goat.logd "Deleting page #{pgid}"
|
|
@@ -382,7 +387,9 @@ module Goat
|
|
|
382
387
|
end
|
|
383
388
|
end
|
|
384
389
|
|
|
385
|
-
|
|
390
|
+
if ObjectSpace.respond_to?(:live_objects)
|
|
391
|
+
Goat.logd "Done. Live objects: #{ObjectSpace.live_objects}"
|
|
392
|
+
end
|
|
386
393
|
end
|
|
387
394
|
end
|
|
388
395
|
|
data/goat.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: goat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 47
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 30
|
|
10
|
+
version: 0.3.30
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Patrick Collison
|