From d456eb0201550050f8ffa0aa279684976cb942a6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 28 Apr 2016 01:56:08 +0000 Subject: githttpbackend: clamp to one smart HTTP request at-a-time 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. --- t/httpd.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') 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", -- cgit v1.2.3-24-ge0c7