[sqlalchemy] Re: Parallel connection attempts in QueuePool

2013-12-06 Thread Jonathan Vanasco
On Friday, December 6, 2013 10:16:21 AM UTC-5, Sunil Adapa wrote: Before making a connection attempt the overflow counter lock is obtained and it is being released only after the connection either succeeds or fails. In my case, a connection remained hung possibly because of a surge in

Re: [sqlalchemy] Re: Parallel connection attempts in QueuePool

2013-12-06 Thread Sunil
On Friday 06 December 2013 09:35 PM, Jonathan Vanasco wrote: [...] It sounds to me like you have an anti-pattern somewhere. Your entire application shouldn't hang because of a database connectivity issue. Specific requests to code that is trying to interact with the database should hang --