lib/persistent_http.rb in persistent_http-1.0.5 vs lib/persistent_http.rb in persistent_http-1.0.6
- old
+ new
@@ -261,16 +261,16 @@
end
end
# Reset the size of the connection pool
def pool_size=(pool_size)
- @gene_pool.pool_size = pool_size
+ @pool.pool_size = pool_size
end
# Return the size of the connection pool
def pool_size
- @gene_pool.pool_size
+ @pool.pool_size
end
##
# Makes a request per +req+. If +req+ is nil a Net::HTTP::Get is performed
# against +default_path+.
@@ -344,10 +344,10 @@
end
##
# Shuts down all connections.
def shutdown(timeout=10)
- @gene_pool.close(timeout)
+ @pool.close(timeout)
end
#######
private
#######