rails/activerecord/test
Adrianna Chang 4d13f05a2e Take into account timeout limit when retrying queries
Building on the work done in #44576 and #44591, we extend the logic that automatically
reconnects broken db connections to take into account a timeout limit. This ensures
that retries + reconnects are slow-query aware, and that we don't retry queries
if a given amount of time has already passed since the query was first tried.

This value will default to 5 seconds, but can be adjusted via the `connection_retry_timeout`
config.
2022-09-22 14:29:33 -04:00
..
active_record/connection_adapters
activejob Fix Active Record :db_runtime metric 2022-09-15 10:43:33 +02:00
assets
cases Take into account timeout limit when retrying queries 2022-09-22 14:29:33 -04:00
fixtures Fix: Inconsistent Polymorphic Association Autosave 2022-09-15 13:24:19 +10:00
migrations Sort migration ID as int in db:migrate:status for consistency. 2021-07-16 13:10:31 -05:00
models Merge pull request #45877 from neilvilela/nc-composed-of-hash 2022-09-14 17:39:53 -04:00
schema Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07:00
support fix remaining asserts that should be assert_equal 2022-09-09 19:22:21 -04:00
config.example.yml Enable strict strings mode for SQLite3Adapter 2022-06-14 23:59:17 +03:00
config.rb Delete AS::Dependencies.safe_constantize 2021-08-20 17:51:05 +02:00