X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b9f430908974f213edb4a3751c57624211c3c4e..606e5ed267d1cf5716ce7ebfd1434ea3e61354fd:/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb?ds=sidebyside diff --git a/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb b/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb index 39aeff869..f287c4e67 100644 --- a/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb +++ b/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb @@ -33,7 +33,8 @@ module DeadlockRetry module ClassMethods DEADLOCK_ERROR_MESSAGES = [ "Deadlock found when trying to get lock", - "Lock wait timeout exceeded" + "Lock wait timeout exceeded", + "deadlock detected" ] MAXIMUM_RETRIES_ON_DEADLOCK = 3