diff options
author | Eric Wong <e@80x24.org> | 2016-04-28 01:56:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-04-28 02:00:55 +0000 |
commit | d456eb0201550050f8ffa0aa279684976cb942a6 (patch) | |
tree | df1e6e9728054f6439ce90990afc6cb730446157 /t | |
parent | 6e88eec854e125520b67735df6e4b0de52201383 (diff) | |
download | public-inbox-d456eb0201550050f8ffa0aa279684976cb942a6.tar.gz |
Server admins may not be able to afford to have too many git-pack-objects processes running at once. Since PSGI HTTP servers should already be configured to use multiple processes for other requests; limit concurrency of smart backends to one; and fall back to dumb responses if we're already generating a pack.
Diffstat (limited to 't')
-rw-r--r-- | t/httpd.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ EOF is(system(qw(git clone -q --mirror), "http://$host:$port/$group", "$tmpdir/clone.git"), - 0, 'clone successful'); + 0, 'smart clone successful'); # ensure dumb cloning works, too: is(system('git', "--git-dir=$maindir", |