[Twisted-Python] Re: adbapi.ConnectionPool
Tsai Li Ming
mailinglist at ltsai.com
Sun Aug 15 20:29:04 MDT 2004
Dave Peticolas wrote:
> No, it is not global. If you want all your modules
> to use the same pool, you will have to arrange for
> them to access the same ConnectionPool object (e.g.,
> by putting that object in your top-level service).
>
> dave
>
> On Sun, 2004-08-15 at 08:45, Tsai Li Ming wrote:
>
>>Is the connection pool global within reactor/twistd? In another words,
>>if I import adbapi in various of my py files and uses it, will I be
>>using a single global connection pool throughout my modules?
>>
>>Liming
>>
>>
>>_______________________________________________
>>Twisted-Python mailing list
>>Twisted-Python at twistedmatrix.com
>>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
About the start method in the API, what does it mean by "If you are
using the reactor normally, this function does *not* need to be called."
Liming
More information about the Twisted-Python
mailing list