Method: Bundler::ConnectionPool#reload
- Defined in:
- lib/bundler/vendor/connection_pool/lib/connection_pool.rb
#reload(&block) ⇒ Object
Reloads the Bundler::ConnectionPool by passing each connection to block and then removing it the pool. Subsequent checkouts will create new connections as needed.
203 204 205 |
# File 'lib/bundler/vendor/connection_pool/lib/connection_pool.rb', line 203 def reload(&block) @available.shutdown(reload: true, &block) end |