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)
execute_without_retry(*args)
rescue ActiveRecord::StatementInvalid => e
if e.message =~ /server has gone away/i
warn "Server timed out, retrying"
warn "Lost connection to MySQL server during query"
reconnect!
retry
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