On 29 Gen, 21:03, Rick Morrison <rickmorri...@gmail.com> wrote:>
> I then added a "wait" option which simply sleeps for brief period after
> closing the SA connections, and then does the connection count check. With a
> 1/2 second delay between the closing of the SA connection pool and the check
> for "all connections closed", I get pretty reliable results for closing all
> connections.
>
> Please try the attached test on your machine and see if you get similar
> results.

Great Rick! Thanks!
I've run the test for a good number ( tons ) of times and i've had
some bad closing results ( more or less 30% ) with a 1/2 a second
delay. With 0.9 secs i had no problems at all!

Cheers!

Fabio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to