garbageman 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.16
1
+ 0.1.17
data/garbageman.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "garbageman"
8
- s.version = "0.1.16"
8
+ s.version = "0.1.17"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Doug Youch"]
@@ -188,7 +188,6 @@ module GarbageMan
188
188
  def can_disable?
189
189
  uses_sockets? &&
190
190
  not_queuing? &&
191
- have_not_waited_too_long_to_gc? &&
192
191
  not_forcing_gc? &&
193
192
  enough_running_servers?
194
193
  end
@@ -214,10 +213,6 @@ module GarbageMan
214
213
  return false unless @last_gc_finished_at
215
214
  (Time.now - @last_gc_finished_at) >= Config.max_time_without_gc
216
215
  end
217
-
218
- def have_not_waited_too_long_to_gc?
219
- ! waited_too_long_to_gc?
220
- end
221
216
  end
222
217
  end
223
218
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garbageman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -102,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  segments:
104
104
  - 0
105
- hash: 336197871885678153
105
+ hash: 2049091438916997762
106
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements: