Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [21eb18a70c7a1f08e7e2dc1c5bc17d67e1d14c46] by Aliaksey Kandratsenka

Revision 21eb18a70c7a1f08e7e2dc1c5bc17d67e1d14c46, committed by Aliaksey Kandratsenka · October 4th, 2008 @ 04:48 PM

Fix race in ConnectionPool#checkout

After releasing monitor some connection(s) may appear in pool before monitor is re-aquired. When this happens we'll wait for connection which is already available.

Signed-off-by: Michael Koziarski michael@koziarski.com http://github.com/rails/rails/co...

1 changed file

  • M activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb