]> Sergey Matveev's repositories - public-inbox.git/commit
githttpbackend: clamp to one smart HTTP request at-a-time
authorEric Wong <e@80x24.org>
Thu, 28 Apr 2016 01:56:08 +0000 (01:56 +0000)
committerEric Wong <e@80x24.org>
Thu, 28 Apr 2016 02:00:55 +0000 (02:00 +0000)
commitd456eb0201550050f8ffa0aa279684976cb942a6
treedf1e6e9728054f6439ce90990afc6cb730446157
parent6e88eec854e125520b67735df6e4b0de52201383
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.
lib/PublicInbox/GitHTTPBackend.pm
t/httpd.t