about summary refs log tree commit homepage
path: root/lib/PublicInbox/IMAPD.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-10 07:05:15 +0000
committerEric Wong <e@yhbt.net>2020-06-13 07:55:45 +0000
commit2db19abcef202dceb316e57264d288d576b9a6e9 (patch)
treeacb76cdcf15453a84a7ca9357913619d1ce3c535 /lib/PublicInbox/IMAPD.pm
parent62f1de1b4e2a936ef71a0d1f7d64e71a5aabb44d (diff)
downloadpublic-inbox-2db19abcef202dceb316e57264d288d576b9a6e9.tar.gz
Note some of our limitations for potential hackers.

We'll be renaming "UID_BLOCK" to "UID_SLICE", since "block" is
overused term and "slice" isn't used in our codebase.  Also,
document how "slice" and "epochs" are similar concepts for
different clients.
Diffstat (limited to 'lib/PublicInbox/IMAPD.pm')
-rw-r--r--lib/PublicInbox/IMAPD.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/IMAPD.pm b/lib/PublicInbox/IMAPD.pm
index e4dc90e8..fe50de0f 100644
--- a/lib/PublicInbox/IMAPD.pm
+++ b/lib/PublicInbox/IMAPD.pm
@@ -44,7 +44,7 @@ sub imapd_refresh_ibx { # pi_config->each_inbox cb
         # this case is a 32-bit representation of the creation
         # date/time of the mailbox"
         defined($ibx->{uidvalidity} = $mm->created_at) or return;
-        PublicInbox::IMAP::ensure_ranges_exist($imapd, $ibx, $mm->max // 0);
+        PublicInbox::IMAP::ensure_slices_exist($imapd, $ibx, $mm->max // 0);
 
         # preload to avoid fragmentation:
         $ibx->description;