Skip to content

Commit 16acb85

Browse files
committed
Don't failsafe ActiveRecord::ConnectionTimeoutError
It hides the error and you end up with a different error anyway as the connection is nil. Fixes: #235
1 parent ba32918 commit 16acb85

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/solid_cache/store/failsafe.rb

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module Failsafe
66
TRANSIENT_ACTIVE_RECORD_ERRORS = [
77
ActiveRecord::AdapterTimeout,
88
ActiveRecord::ConnectionNotEstablished,
9-
ActiveRecord::ConnectionTimeoutError,
109
ActiveRecord::Deadlocked,
1110
ActiveRecord::LockWaitTimeout,
1211
ActiveRecord::QueryCanceled,

0 commit comments

Comments
 (0)