aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #31221 from matthewd/flush-idle-connectionsMatthew Draper2017-11-261-16/+58
|\
| * Flush idle database connectionsMatthew Draper2017-11-261-16/+58
* | Merge pull request #31173 from matthewd/connection-fork-safetyMatthew Draper2017-11-251-0/+35
|\ \ | |/ |/|
| * Improve AR connection fork safetyMatthew Draper2017-11-181-0/+35
* | Merge pull request #28742 from quixoten/stack_conn_poolMatthew Draper2017-11-171-6/+3
|\ \ | |/ |/|
| * Fix typosDevin Christensen2017-04-131-1/+1
| * Improve documentation and add testDevin Christensen2017-04-131-7/+4
| * Switch to LIFO for the connection poolDevin Christensen2017-04-121-2/+2
* | Fix RDoc formatting: `+` doesn't work with `@`ohbarye2017-08-111-5/+5
* | Start `@reaper.run` after connection pool initializedRyuta Kamizono2017-08-111-2/+3
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* | Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\ \
| * | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | | Make ActiveRecord frozen string literal friendly.Pat Allan2017-06-201-1/+1
|/ /
* | Lock connection before checking it inMatthew Draper2017-04-261-6/+8
* | Fix typos [ci skip]Tobias Fankhänel2017-04-251-2/+2
|/
* Fix example usage of ActiveRecord::Base.establish_connectionSimon Dawson2017-03-301-1/+1
* Ensure test threads share a DB connectioneileencodes2017-02-201-1/+11
* Fix pool_from_any_process to use most recent speceileencodes2017-01-131-1/+1
* Clear available connections immediatelyMatthew Draper2016-11-271-0/+2
* Distribute connections to previously blocked threads when we're doneMatthew Draper2016-11-251-19/+17
* Merge pull request #27057 from kamipo/fix_race_conditionMatthew Draper2016-11-191-6/+7
|\
| * Fix the race condition caused by `with_new_connections_blocked`Ryuta Kamizono2016-11-181-8/+4
|/
* Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-131-6/+6
|\
| * Add missing `+` around a some literals.bogdanvlviv2016-10-271-6/+6
* | Merge pull request #26978 from matthewd/query-cache-poolMatthew Draper2016-11-101-0/+1
|\ \
| * | Configure query caching (per thread) on the connection poolMatthew Draper2016-11-061-0/+1
* | | Add ActiveRecord::Base.connection_pool.statPavel2016-11-091-0/+18
|/ /
* / Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
|/
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-42/+42
* Add three new rubocop rulesRafael Mendonça França2016-08-161-2/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-180/+180
* modernizes hash syntax in activerecordXavier Noria2016-08-061-3/+3
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-5/+5
* Remove extra connection pool creationArthur Neves2016-08-021-1/+0
* Merge pull request #25869 from kamipo/specificiation_id_was_renamed_to_spec_nameRafael França2016-07-201-1/+1
|\
| * `specificiation_id` was renamed to `spec_name`Ryuta Kamizono2016-07-181-1/+1
* | Fix `payload[:class_name]` to `payload[:spec_name]`Ryuta Kamizono2016-07-171-1/+1
|/
* Create connection.active_record notification and use that to ensure that lazy-Jeremy Wadsack2016-07-121-0/+15
* Merge pull request #25707 from matthewd/double-reapMatthew Draper2016-07-071-9/+15
|\
| * Make connection stealing more explicitMatthew Draper2016-07-061-4/+9
| * Reduce locking by taking ownership of stale connectionsMatthew Draper2016-07-061-9/+8
| * Re-check that the connection is still stale before we reap itMatthew Draper2016-07-061-0/+2
* | [ci skip] Update ConnectionPool documentation for readabilityAlex Kitchens2016-07-061-21/+21
|/
* Add to_hash to specificationArthur Neves2016-05-251-2/+1
* Remove `name` from `establish_connection`Arthur Neves2016-05-241-10/+7
* Move establish_connection to handlerArthur Neves2016-05-241-1/+9
* [ci skip] Update retrieve_connection_pool commentBenjamin Quorning2016-05-201-7/+1
* [ci skip] Update documents of `ConnectionHandler`yui-knk2016-05-111-3/+1