mxODBC Zope DA .get_connection()
Mathias Gibbens <[email protected]> Tue, 10 Aug 2010 10:21:35 -0500
| Newsgroups | gmane.comp.python.egenix.user |
|---|---|
| Message-ID | <1281453695.24814.32.camel@linux7927> |
Hello all, In some of my long-running code in Zope, I'm using .get_connection() to get a database connection, and then run some queries. Once I'm done with the queries, I'd like to free up the connection for use in other locations until it is needed again. Is there a way to automatically free connections that are not being used after a period of time? I did find a post from 2005 <http://lists.egenix.com/mailman-archives/egenix-users/2005-January/113826.html> asking about this, but haven't been able to find anything else helpful. Thanks, Mathias _______________________________________________________________________ eGenix.com User Mailing List http://www.egenix.com/ https://www.egenix.com/mailman/listinfo/egenix-users