about summary refs log tree commit homepage
path: root/lib/PublicInbox/Config.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/Config.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/Config.pm')
-rw-r--r--lib/PublicInbox/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index 4f63bc93..a4b1756d 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -496,7 +496,7 @@ EOF
 
 sub _fill_ei ($$) {
         my ($self, $pfx) = @_;
-        require PublicInbox::ExtSearch;
+        eval { require PublicInbox::ExtSearch } or return;
         my $d = $self->{"$pfx.topdir"};
         defined($d) && -d $d ? PublicInbox::ExtSearch->new($d) : undef;
 }