On Thu, Sep 1, 2011 at 4:13 PM, Stuart Bishop <stuart.bis...@canonical.com> wrote: > Can anyone tell me how many database connections the Librarian will > open up, and where this is configured? > > Assuming there is a limit n, if I issue n requests will I have tested > every open database connection? >
I don't know the librarian code well, but it's probably the 'min' and 'max' attributes of a ConnectionPool object, passed in as cp_min and cp_max in the ConnectionPool constructor. See <http://twistedmatrix.com/documents/current/api/twisted.enterprise.adbapi.ConnectionPool.html> jml _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp