]> Sergey Matveev's repositories - public-inbox.git/commitdiff
imapd|nntpd: drop ->base_url preload
authorEric Wong <e@80x24.org>
Mon, 8 Aug 2022 23:53:11 +0000 (23:53 +0000)
committerEric Wong <e@80x24.org>
Tue, 9 Aug 2022 16:41:54 +0000 (16:41 +0000)
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
lib/PublicInbox/NNTPD.pm

index ba6ad05d5b2a74a4bb7480c20809441a769afc63..78323e57c851ac664120109f9eb4c0a1ee9b85e9 100644 (file)
@@ -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;
index 4f550bb08ad23a2ea1fb6dfb3babf7543307d6cb..4401a29b963fed06abcb670a93a8cc16f55defc9 100644 (file)
@@ -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