I am about to try implementing DBPool again as my last attempt met with
massive failure (pointers within the python process got mixed, up, I had
strings in wrong places, and general weirdness).
I am still not quite clear on how to use DBPool: is the point to avoid
having multiple WK threads use the same DB connection? if so, where in a WK
Page is it appropriate to ask for a connection from the pool? in __init__()?
in writeHTML()? somewhere else?
Since my app is already pretty large, the easiest place for me would be
__init__ ... Any pointers guys? the DBPool example in WW seems pretty basic,
Thanks in advance,
Join the worlds largest e-mail service with MSN Hotmail.
Get latest updates about Open Source Projects, Conferences and News.