method
retryable_query_error?
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
retryable_query_error?(exception)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 821
def retryable_query_error?(exception)
# We cannot retry anything if we're inside a broken transaction; we need to at
# least raise until the innermost savepoint is rolled back
@raw_connection&.transaction_status != ::PG::PQTRANS_INERROR &&
super
end