Skip to content

Commit

Permalink
Don't failsafe ActiveRecord::ConnectionTimeoutError
Browse files Browse the repository at this point in the history
It hides the error and you end up with a different error anyway
as the connection is nil.

Fixes: #235
  • Loading branch information
djmb committed Jan 24, 2025
1 parent ba32918 commit e3d5e66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/solid_cache/store/failsafe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module Failsafe
TRANSIENT_ACTIVE_RECORD_ERRORS = [
ActiveRecord::AdapterTimeout,
ActiveRecord::ConnectionNotEstablished,
ActiveRecord::ConnectionTimeoutError,
ActiveRecord::Deadlocked,
ActiveRecord::LockWaitTimeout,
ActiveRecord::QueryCanceled,
Expand Down

0 comments on commit e3d5e66

Please sign in to comment.