From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0ABF61F61C for ; Mon, 8 Aug 2022 23:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1660002792; bh=snnLtah2taRy4qyxxlAOIS/qzhKwe0jpOIDDLga4mII=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f4hUcuNX84WUkFOsn47f5IiQBkGzFYjkh4lIUATOQlyNbD+IUY6IqJyfP9VeySiqz FIVDQ4GHIdv+7UopJEVM73adSsjV3bCIMqlwv7MYJqslvGoaeoae0p1fszVRB2Rmrw dj8hBOdcrWFbEDxClFEg1fOI4wMyJsvY4RzkzEcc= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 5/5] imapd|nntpd: drop ->base_url preload Date: Mon, 8 Aug 2022 23:53:11 +0000 Message-Id: <20220808235311.2006279-6-e@80x24.org> In-Reply-To: <20220808235311.2006279-1-e@80x24.org> References: <20220808235311.2006279-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: It was never useful for IMAP, and NNTP hasn't needed it since: 1bf653ad139bf7bb (nntp+www: drop List-* and Archived-At headers, 2020-12-10) --- lib/PublicInbox/IMAPD.pm | 1 - lib/PublicInbox/NNTPD.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/PublicInbox/IMAPD.pm b/lib/PublicInbox/IMAPD.pm index ba6ad05d..78323e57 100644 --- a/lib/PublicInbox/IMAPD.pm +++ b/lib/PublicInbox/IMAPD.pm @@ -44,7 +44,6 @@ sub _refresh_ibx { # pi_cfg->each_inbox cb PublicInbox::IMAP::ensure_slices_exist($imapd, $ibx); # preload to avoid fragmentation: $ibx->description; - $ibx->base_url; # ensure dummies are selectable: do { $dummies->{$ngname} = $dummy; diff --git a/lib/PublicInbox/NNTPD.pm b/lib/PublicInbox/NNTPD.pm index 4f550bb0..4401a29b 100644 --- a/lib/PublicInbox/NNTPD.pm +++ b/lib/PublicInbox/NNTPD.pm @@ -45,7 +45,6 @@ sub refresh_groups { # only valid if msgmap and over works # preload to avoid fragmentation: $ibx->description; - $ibx->base_url; } else { delete $groups->{$ngname}; # Note: don't be tempted to delete more for memory