diff options
author | Pat Allan <pat@freelancing-gods.com> | 2017-06-20 19:43:21 +1000 |
---|---|---|
committer | Pat Allan <pat@freelancing-gods.com> | 2017-06-20 19:43:21 +1000 |
commit | b86e313df53ada181850a057e254052f38014738 (patch) | |
tree | 41531a72563ec51568ca703aa0284acb689a75e0 /activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb | |
parent | 4ff30d9bb6d5d591fbb3952112d721c995059302 (diff) | |
download | rails-b86e313df53ada181850a057e254052f38014738.tar.gz rails-b86e313df53ada181850a057e254052f38014738.tar.bz2 rails-b86e313df53ada181850a057e254052f38014738.zip |
Make ActiveRecord frozen string literal friendly.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb index 61bf5477aa..627b753f01 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb @@ -679,7 +679,7 @@ module ActiveRecord # this block can't be easily moved into attempt_to_checkout_all_existing_connections's # rescue block, because doing so would put it outside of synchronize section, without # being in a critical section thread_report might become inaccurate - msg = "could not obtain ownership of all database connections in #{checkout_timeout} seconds" + msg = "could not obtain ownership of all database connections in #{checkout_timeout} seconds".dup thread_report = [] @connections.each do |conn| |