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: AS55 158.130.0.0/16 X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00,RCVD_IN_MSPIKE_BL, RCVD_IN_MSPIKE_ZBI,RCVD_IN_XBL,SPF_FAIL,SPF_HELO_FAIL shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from 80x24.org (tor-exit-node.seas.upenn.edu [158.130.0.242]) by dcvr.yhbt.net (Postfix) with ESMTP id 3C83A1FEB3 for ; Sat, 7 Jan 2017 01:45:05 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 4/9] inbox: describe the full key name Date: Sat, 7 Jan 2017 01:44:47 +0000 Message-Id: <20170107014452.9657-5-e@80x24.org> In-Reply-To: <20170107014452.9657-1-e@80x24.org> References: <20170107014452.9657-1-e@80x24.org> List-Id: Hopefully make this easier for future generations to understand. --- lib/PublicInbox/Inbox.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index 5503980..008a6cf 100644 --- a/lib/PublicInbox/Inbox.pm +++ b/lib/PublicInbox/Inbox.pm @@ -60,6 +60,7 @@ sub _set_limiter ($$$) { my ($self, $git, $pfx) = @_; my $lkey = "-${pfx}_limiter"; $git->{$lkey} = $self->{$lkey} ||= eval { + # full key is: publicinbox.$NAME.httpbackendmax my $mkey = $pfx.'max'; my $val = $self->{$mkey} or return; my $lim; -- EW