Hi all, I've got a quick question. If I establish a dbpool connection
in my sitepage with say:
Class sitePage(Page):
def __init__(self):
Page.__init__(self)
self.db = DBPool(MySQLdb, 5, user=user....)
Instead of doing it in the context initialization, is there any real
problem to leaving the threads running? I've noticed that most people
initialize dbpool with the context and have a application shutdown
method to close it down. But since servlets stay in memory is this
really necessary? Is there any harm in leaving them running (which is
what I am assuming will happen the way I've outlined doing it)?
Thanks for the info in advance
Jose
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss