lib/async/http/client.rb in async-http-0.56.1 vs lib/async/http/client.rb in async-http-0.56.2

- old
+ new

@@ -81,11 +81,11 @@ end end def close while @pool.busy? - Async.logger.warn(self) {"Waiting for #{@protocol} pool to drain: #{@pool}"} + Console.logger.warn(self) {"Waiting for #{@protocol} pool to drain: #{@pool}"} @pool.wait end @pool.close end @@ -150,10 +150,10 @@ return response end def make_pool(connection_limit) Async::Pool::Controller.wrap(limit: connection_limit) do - Async.logger.debug(self) {"Making connection to #{@endpoint.inspect}"} + Console.logger.debug(self) {"Making connection to #{@endpoint.inspect}"} @protocol.client(@endpoint.connect) end end end