I occasionally got "QueuePool limit of size 5 overflow 10 reached".

I don't call session.close() after I don't need them.  Because I think
GC will do that.

But now, it seems that I am losting connections somewhere.


Should I call "session.close" after I use them?

Should I use "try.. finally..." to make sure "session.close" is called?
--~--~---------~--~----~------------~-------~--~----~
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