]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/IMAP.pm
msgmap: do not cache num_highwater
[public-inbox.git] / lib / PublicInbox / IMAP.pm
index 41bcf9af295de9d905f4dd5eb4d44a8e6938cecc..4a7ff2f457d0458c317d452764e6d20abb7d1734 100644 (file)
@@ -393,8 +393,7 @@ sub inbox_lookup ($$;$) {
                                die "BUG: unexpected dummy mailbox: $mailbox\n";
                $uid_base = $1 * UID_SLICE;
 
-               # ->num_highwater caches for writers, so use ->meta_accessor
-               $uidmax = $ibx->mm->meta_accessor('num_highwater') // 0;
+               $uidmax = $ibx->mm->num_highwater // 0;
                if ($examine) {
                        $self->{uid_base} = $uid_base;
                        $self->{ibx} = $ibx;