From: Eric Wong Date: Mon, 23 May 2016 01:21:00 +0000 (+0000) Subject: git-http-backend: cleanup vestigial the process limiter code X-Git-Tag: v1.0.0~501 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=97134b5a7fde92a2b55a6ec7ff3b44176e307cd7;hp=e8e1aba1abd87dacfe46704a9e939f13c9ad3b52;p=public-inbox.git git-http-backend: cleanup vestigial the process limiter code This bit is still being redone to support gigantic repos. --- diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm index cca8a6d6..97834de4 100644 --- a/lib/PublicInbox/GitHTTPBackend.pm +++ b/lib/PublicInbox/GitHTTPBackend.pm @@ -31,15 +31,6 @@ my @no_cache = ('Expires', 'Fri, 01 Jan 1980 00:00:00 GMT', 'Pragma', 'no-cache', 'Cache-Control', 'no-cache, max-age=0, must-revalidate'); -my $nextq; -sub do_next () { - my $q = $nextq; - $nextq = undef; - while (my $cb = shift @$q) { - $cb->(); # this may redefine nextq - } -} - sub r ($;$) { my ($code, $msg) = @_; $msg ||= status_message($code);