about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-04-28 01:56:08 +0000
committerEric Wong <e@80x24.org>2016-04-28 02:00:55 +0000
commitd456eb0201550050f8ffa0aa279684976cb942a6 (patch)
treedf1e6e9728054f6439ce90990afc6cb730446157 /t
parent6e88eec854e125520b67735df6e4b0de52201383 (diff)
downloadpublic-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.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/httpd.t b/t/httpd.t
index 03790311..781fe03a 100644
--- a/t/httpd.t
+++ b/t/httpd.t
@@ -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",