]> Sergey Matveev's repositories - public-inbox.git/commit
git-http-backend: use qspawn to limit running processes
authorEric Wong <e@80x24.org>
Tue, 24 May 2016 03:41:53 +0000 (03:41 +0000)
committerEric Wong <e@80x24.org>
Tue, 24 May 2016 04:12:51 +0000 (04:12 +0000)
commit64aea34d06f71828b0bdd6ae177b9bcf22d752b4
tree4f7df75d112aa4fe0b9056cf24688a2e42032019
parent8648f519a95872600689c3a5d6d87fd17770f9fc
git-http-backend: use qspawn to limit running processes

Having an excessive amount of git-pack-objects processes is
dangerous to the health of the server.  Queue up process spawning
for long-running responses and serve them sequentially, instead.
lib/PublicInbox/GitHTTPBackend.pm
lib/PublicInbox/Qspawn.pm [new file with mode: 0644]
t/qspawn.t [new file with mode: 0644]