about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiSearch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-07-25 00:43:30 +0000
committerEric Wong <e@80x24.org>2021-07-25 06:14:05 +0000
commit6d22fb90c9869248d8de18d62b64dfe58553a98f (patch)
treedbe1aec1d44d636c6d1dd11790b976d040ed082d /lib/PublicInbox/LeiSearch.pm
parent6449835281b15046c71e5cdad7e1a5c422de2fad (diff)
downloadpublic-inbox-6d22fb90c9869248d8de18d62b64dfe58553a98f.tar.gz
Reduce memory traffic and code, too.
Diffstat (limited to 'lib/PublicInbox/LeiSearch.pm')
-rw-r--r--lib/PublicInbox/LeiSearch.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/LeiSearch.pm b/lib/PublicInbox/LeiSearch.pm
index 37bfc65e..79b2fd7d 100644
--- a/lib/PublicInbox/LeiSearch.pm
+++ b/lib/PublicInbox/LeiSearch.pm
@@ -42,9 +42,9 @@ sub _oid_kw { # retry_reopen callback
 }
 
 # returns undef if blob is unknown
-sub oid_keywords {
-        my ($self, $oidhex) = @_;
-        my @num = $self->over->blob_exists($oidhex) or return;
+sub oidbin_keywords {
+        my ($self, $oidbin) = @_;
+        my @num = $self->over->oidbin_exists($oidbin) or return;
         $self->retry_reopen(\&_oid_kw, \@num);
 }