Hi, we recently started using some of TG model classes in ASP pages
(don't ask) using the method described in the documentation[1]. The
problem however, is that IIS uses a large pool of worker threads thus
causing alot pending database connections.

Since the ASP aren't used alot it wouldn't be 'too' evil to open and
close a connection per request. Thus my question would this be if
there is some way to manually open and close the database connection
in a long running process while still using the default packagehub in
model.py. I looked at the hub.getConnection.close method, but doesn't
seem to do anything. Any thoughts?

[1] http://docs.turbogears.org/1.0/ModelOutsideTG


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to