about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-23 01:21:00 +0000
committerEric Wong <e@80x24.org>2016-05-23 01:21:00 +0000
commit97134b5a7fde92a2b55a6ec7ff3b44176e307cd7 (patch)
tree3f7507d377ebffad2fc26e5267369c07e07bd333
parente8e1aba1abd87dacfe46704a9e939f13c9ad3b52 (diff)
downloadpublic-inbox-97134b5a7fde92a2b55a6ec7ff3b44176e307cd7.tar.gz
This bit is still being redone to support gigantic repos.
-rw-r--r--lib/PublicInbox/GitHTTPBackend.pm9
1 files changed, 0 insertions, 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);