diff options
author | Devin Christensen <quixoten@gmail.com> | 2017-04-12 14:45:10 -0600 |
---|---|---|
committer | Devin Christensen <quixoten@gmail.com> | 2017-04-12 14:45:10 -0600 |
commit | 3360742396a00c9e2ff9838373788bed432d5ea7 (patch) | |
tree | e2a2dd25c3ecfb70a0bee44789aa70bee9921c66 /railties/test/application/asset_debugging_test.rb | |
parent | 92ba89dbcc3fd22296434103503a28dbf6b63789 (diff) | |
download | rails-3360742396a00c9e2ff9838373788bed432d5ea7.tar.gz rails-3360742396a00c9e2ff9838373788bed432d5ea7.tar.bz2 rails-3360742396a00c9e2ff9838373788bed432d5ea7.zip |
Switch to LIFO for the connection pool
Using a FIFO for the connection pool can lead to issues when there are
upstream components (pgbouncer, haproxy, etc.) that terminate
connections that are idle after a period of time. Switching to a LIFO
reduces the probability that a thread will checkout a connection that is
about to be closed by an idle timeout in an upstream component.
Diffstat (limited to 'railties/test/application/asset_debugging_test.rb')
0 files changed, 0 insertions, 0 deletions