aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
Commit message (Expand)AuthorAgeFilesLines
* Add ability to unset preventing writeseileencodes2019-08-021-2/+2
* Fix query cache when using shared connectionsHeinrich Lee Yu2019-07-081-2/+6
* Move while_preventing_writes from conn to handlereileencodes2019-06-141-0/+15
* Make ActiveRecord `ConnectionPool.connections` thread-safe. (#36473)jeffdoering2019-06-131-1/+16
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-3/+0
* Move schema cache from connection to pooleileencodes2019-06-051-1/+21
* Use WeakRef to avoid leaking connection poolsJohn Hawthorn2019-05-271-11/+21
* Use a single thread for all ConnectionPool ReapersJohn Hawthorn2019-05-171-7/+25
* Cache database version in schema cacheAli Ibrahim2019-04-031-0/+1
* Merge pull request #35297 from yhara/fix-ar-connection-handler-leakRyuta Kamizono2019-02-161-7/+11
|\
| * Fix possible memory leak of ConnectionHandlerYutaka HARA2019-02-161-7/+11
|/
* Fix elapsed time calculationsbogdanvlviv2019-02-081-4/+4
* Fix error raised when handler doesn't existEileen Uchitelle2019-01-251-1/+10
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-1/+1
* Merge pull request #31696 from BrentWheeldon/bmw-connection-pool-load-deadlockMatthew Draper2018-08-241-1/+3
|\
| * Prevent deadlocks when waiting for connection from pool.Brent Wheeldon2018-03-231-1/+3
* | `retrieve_connection_pool` return a pool, not a connectionRyuta Kamizono2018-08-031-2/+2
|/
* Merge pull request #25456 from ojab/masterRyuta Kamizono2018-01-031-3/+1
|\
| * Remove dormant checkojab2016-06-211-3/+1
* | 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