added new mysql deadlock message
This commit is contained in:
parent
ae2895b6fc
commit
6fbc582fe5
@ -110,7 +110,8 @@ module Hydra #:nodoc:
|
||||
def process_results(worker, message)
|
||||
if message.output =~ /ActiveRecord::StatementInvalid(.*)[Dd]eadlock/ or
|
||||
message.output =~ /PGError: ERROR(.*)[Dd]eadlock/ or
|
||||
message.output =~ /Mysql::Error: SAVEPOINT(.*)does not exist: ROLLBACK/
|
||||
message.output =~ /Mysql::Error: SAVEPOINT(.*)does not exist: ROLLBACK/ or
|
||||
message.output =~ /Mysql::Error: Deadlock found/
|
||||
trace "Deadlock detected running [#{message.file}]. Will retry at the end"
|
||||
@files.push(message.file)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user