clear_reloadable_connections!() public

Clears the cache which maps classes and re-connects connections that require reloading.

The pool first tries to gain ownership of all connections, if unable to do so within a timeout interval (default duration is spec.config[:checkout_timeout] * 2 seconds), the pool forcefully clears the cache and reloads connections without any regard for other connection owning threads.

Show source
Register or log in to add new notes.