- Capture the database system is in recovery mode error
- Use throw_away! instead and capture state of transaction and re-raise accordingly
- Slight refactor and reduce multiple disconnect attempts
- Attempt a re-connect before a retry
- Handle Connection refused
- Retry on too many connections error as well
- Make retry on ActiveRecord::NoDatabaseError stricter
- Simplify connection management and introduce upper bound to retries
- Disconnect and remove connection when in read-only
- Retry queries when not in transaction
- Rescue and recover from
ActiveRecord::ConnectionNotEstablished
- Bug fix: Always prepend the patch on boot to avoid issues with loading the monkey patch on some Rails installations
- Bug fix: Ensure RailsPgAdapter constant is discoverable
- Initial release