about summary refs log tree commit homepage
path: root/lib/PublicInbox/Inbox.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-03 15:51:44 -0600
committerEric Wong <e@80x24.org>2021-02-04 01:41:04 +0000
commita1aa7a3bf55ca5aa6e12294bc1f864dba8e63269 (patch)
tree7d3e76f35eefdf1408afe4245f373a7743b25a60 /lib/PublicInbox/Inbox.pm
parent92dd30285b579204b242df3e12b57b926083b666 (diff)
downloadpublic-inbox-a1aa7a3bf55ca5aa6e12294bc1f864dba8e63269.tar.gz
The features we use for SharedKV could probably be implemented
with GDBM_File or SDBM_File, but that doesn't seem worth it at
the moment since we depend on SQLite elsewhere.
Diffstat (limited to 'lib/PublicInbox/Inbox.pm')
-rw-r--r--lib/PublicInbox/Inbox.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm
index bee44f8a..a1e34797 100644
--- a/lib/PublicInbox/Inbox.pm
+++ b/lib/PublicInbox/Inbox.pm
@@ -196,7 +196,7 @@ sub isrch { $_[0]->{isrch} // search($_[0]) }
 
 sub over {
         $_[0]->{over} //= eval {
-                my $srch = $_[0]->{search} //= eval {
+                my $srch = $_[0]->{search} //= do {
                         _cleanup_later($_[0]);
                         require PublicInbox::Search;
                         PublicInbox::Search->new($_[0]);