Commit 94696666 authored by Chris Wilson's avatar Chris Wilson

Update warn message for MySQL fix

parent 2cae81ff
...@@ -20,7 +20,7 @@ if defined?(ActiveRecord::ConnectionAdapters::Mysql2Adapter) ...@@ -20,7 +20,7 @@ if defined?(ActiveRecord::ConnectionAdapters::Mysql2Adapter)
execute_without_retry(*args) execute_without_retry(*args)
rescue ActiveRecord::StatementInvalid => e rescue ActiveRecord::StatementInvalid => e
if e.message =~ /server has gone away/i if e.message =~ /server has gone away/i
warn "Server timed out, retrying" warn "Lost connection to MySQL server during query"
reconnect! reconnect!
retry retry
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment