From 416ed12a0ba4259da15c43a34af17023e440a1bd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 8 Aug 2022 23:53:11 +0000 Subject: imapd|nntpd: drop ->base_url preload 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 -- cgit v1.2.3-24-ge0c7