launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #07852
Re: Number of Librarian (or twisted) database connections
On Thu, 1 Sep 2011 22:13:41 +0700, Stuart Bishop <stuart.bishop@xxxxxxxxxxxxx> wrote:
> Can anyone tell me how many database connections the Librarian will
> open up, and where this is configured?
Not off hand. As jml said, thread pool limits and connection pool
limits apply.
> Assuming there is a limit n, if I issue n requests will I have tested
> every open database connection?
If you issue n concurrect requests, sure :) If they don't overlap, I
would expect (hope!) that connections would be reused.
Cheers,
mwh
Follow ups
References