---------- Forwarded message ----------
From: Jo=E3o Paulo Fernandes Farias <jpaulofarias@...>
Date: Feb 12, 2006 3:32 PM
Subject: Threads and connections
I have my turbogears project and also some other app that access the
models from turbogear.
In my app (not the turbogears project) I have many threads, and seems
that for each thread a connection is open.
My problem is, when a thread is finished, it does not release the
connection. So I quickly run out of connections.
How do I make my app free the per thread connections?
I'm using mysql as db.
Also, on the startart script of the app I've put some lines to load
the config like this:
This way I keep using PackageHub on the models.
Get latest updates about Open Source Projects, Conferences and News.