This project is archived and is in readonly mode.

Changeset [21eb18a70c7a1f08e7e2dc1c5bc17d67e1d14c46] 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...

Committed by Aliaksey Kandratsenka

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>