about summary refs log tree commit homepage
path: root/lib/PublicInbox/Import.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-08-09 00:22:52 +0000
committerEric Wong <e@80x24.org>2016-08-09 00:24:56 +0000
commit3713c727cda431a0dc2865a7878c13ecf9f21851 (patch)
tree2061c349806d2bd8086c88685aa3f2bd39d51b56 /lib/PublicInbox/Import.pm
parentec483e30d9003530224cfb92d1657ad33d1db7da (diff)
downloadpublic-inbox-3713c727cda431a0dc2865a7878c13ecf9f21851.tar.gz
This will allow us to release and re-acquire Xapian locks
due to the lack of FD_CLOEXEC on some FDs.
Diffstat (limited to 'lib/PublicInbox/Import.pm')
-rw-r--r--lib/PublicInbox/Import.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm
index b3812a63..ff5b3f38 100644
--- a/lib/PublicInbox/Import.pm
+++ b/lib/PublicInbox/Import.pm
@@ -237,7 +237,7 @@ sub done {
 
                 eval {
                         require PublicInbox::SearchIdx;
-                        my $s = PublicInbox::SearchIdx->new($git_dir, 2);
+                        my $s = PublicInbox::SearchIdx->new($git_dir);
                         $s->index_sync({ ref => $self->{ref} });
                 };
         }