Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.282 kb
module Typhoeus
module Hydras
module EasyPool
def easy_pool
@easy_pool ||= []
end
def release_easy(easy)
easy.reset
easy_pool << easy
end
def get_easy
easy_pool.pop || Ethon::Easy.new
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.