Go to file
Shawn O. Pearce cd5d0f9985 upload-pack: Delay reserving database connection until executing
We don't want to check out a connection from the connection pool
until we know we have been granted a thread from the thread pool
to execute on.  If we grab the connection when the Upload object is
created, and we have to wait 5 seconds to get a thread for runImpl()
to execute on, we'll simply be tieing up that connection for the
entire duration of the wait.  So use a Provider instead so we can
defer obtaining the connection.

Change-Id: I9ac360981fb1ad3e09e77ad579e9203686b14494
Signed-off-by: Shawn O. Pearce <sop@google.com>
Reviewed-by: Nico Sallembien <nsallembien@google.com>
2010-05-05 12:16:43 -07:00
2010-04-14 15:50:10 -06:00
2010-04-27 17:55:53 -07:00
2010-02-08 10:49:24 -08:00
2010-04-27 17:55:53 -07:00
2010-04-24 19:07:25 -07:00
2010-01-20 15:17:02 -08:00
2010-04-27 18:27:16 -07:00
2010-04-27 17:55:53 -07:00
2010-05-04 17:38:55 -07:00
2008-11-14 16:59:34 -08:00
2009-03-27 20:20:10 -07:00
2010-05-04 17:38:55 -07:00
Description
RETIRED, Gerrit as used by OpenStack
120 MiB