lib/async/http/pool.rb in async-http-0.33.1 vs lib/async/http/pool.rb in async-http-0.33.2
- old
+ new
@@ -87,15 +87,13 @@
end
protected
def availability_string
- @resources.collect{|resource,usage| "#{usage}/#{resource.multiplex}#{resource.good? ? '' : '*'}"}.join(";")
+ @resources.collect{|resource,usage| "#{usage}/#{resource.multiplex}#{resource.connected? ? '' : '*'}"}.join(";")
end
def reuse(resource)
- Async.logger.debug(self) {"Reuse #{resource}"}
-
@resources[resource] -= 1
@available.signal
end