[Twisted-Python] twisted.enterprise

Jp Calderone exarkun at meson.dyndns.org
Sun Aug 11 21:38:43 EDT 2002


  Quick query.  I'm using twisted.enterprise.adbapi.Augmentation in my
latest project and I've just moved the createSchema() call into the mktap
phase.  This seems like a decent place to put it, as the schema need only be
created once for each server application.  However, 'mktap' no longer exits
now.  The .tap is created, but then it looks like a thread is left running
somewhere.  What's the right way to release connections acquired indirectly
from the ConnectionPool?  With the .close() method, or ... ?

 Jp


-- 
        "I quite agree with you," said the Duchess; "and the moral of
that is -- Be what you would seem to be' -- or, if you'd like it put
more simply -- Never imagine yourself not to be otherwise than what it
might appear to others that what you were or might have been was not 
otherwise than what you had been would have appeared to them to be
otherwise.'"       -- Lewis Carrol, "Alice in Wonderland"
--
 9:35pm up 82 days, 22:23, 5 users, load average: 0.03, 0.07, 0.01
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 237 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20020811/1fa8b964/attachment.pgp 


More information about the Twisted-Python mailing list