-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AR Trilogy Adapter: Handle AdapterTimeout and ConnectionFailed errs (#…
…497) * Update AR trilogy lockfile * AR Trilogy Adapter: Handle AdapterTimeout and ConnectionFailed errs This commit ensures that ActiveRecord::AdapterTimeout errors are handled for the AR Trilogy Adapter. As of rails/rails@785f656, TimeoutErrors are translated to AdapterTimeout errors in Rails. As such, we no longer need special handling in `#acquire_semian_resource` for such errors. This commit also ensures that ActiveRecord::ConnectionFailed errors are classified as resource exceptions. These are network-related exceptions and should be handled by Semian.
- Loading branch information
1 parent
6871dd8
commit d6ba307
Showing
4 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters