You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use something like what follows in deadlock_retry.rb
if !method_defined?(:transaction_without_deadlock_handling)
alias_method :transaction_without_deadlock_handling, :transaction
alias_method :transaction, :transaction_with_deadlock_handling
end
For some reason the the code was executed twice.
The text was updated successfully, but these errors were encountered:
Use something like what follows in deadlock_retry.rb
if !method_defined?(:transaction_without_deadlock_handling)
alias_method :transaction_without_deadlock_handling, :transaction
alias_method :transaction, :transaction_with_deadlock_handling
end
For some reason the the code was executed twice.
The text was updated successfully, but these errors were encountered: