From 97134b5a7fde92a2b55a6ec7ff3b44176e307cd7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 23 May 2016 01:21:00 +0000 Subject: git-http-backend: cleanup vestigial the process limiter code This bit is still being redone to support gigantic repos. --- lib/PublicInbox/GitHTTPBackend.pm | 9 --------- 1 file changed, 9 deletions(-) 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); -- cgit v1.2.3-24-ge0c7