[Twisted-Python] Help w/ low adbapi connection pool limits?
Uwe C. Schroeder
uwe at oss4u.com
Sun Jul 27 00:10:59 EDT 2003
On Saturday 26 July 2003 08:50 pm, Steve Freitas wrote:
> > Don't create a new database pool per request. Store one in the resource,
> > that is, create one __init__ and access it using self.dbpool. No need to
> > do connect(), either. That should solve it.
> That worked beautifully! Thanks!
> Is there any need for me to run dbpool.close() at any point?
If you use multiuser, I would close on logoff, otherwise the connection sticks
around until the server exits.
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417
More information about the Twisted-Python