From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-5.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RP_MATCHES_RCVD,URIBL_BLOCKED shortcircuit=no autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 628B71FCC6 for ; Mon, 23 May 2016 01:28:09 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] git-http-backend: cleanup vestigial the process limiter code Date: Mon, 23 May 2016 01:28:09 +0000 Message-Id: <20160523012809.10038-1-e@80x24.org> List-Id: 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 cca8a6d..97834de 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);