[Twisted-Python] adbapi.ConnectionPool

Dave Peticolas dave at krondo.com
Sun Aug 15 10:47:00 MDT 2004


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





More information about the Twisted-Python mailing list