diff options
author | Eric Wong <e@80x24.org> | 2016-06-17 01:56:05 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-17 01:57:26 +0000 |
commit | 78d765a8d03967d0dfd6ce6232ffad5c89319909 (patch) | |
tree | 7d18fefbd3fcf72ca44133c5e3f96b2df2a7c489 /script/public-inbox-learn | |
parent | 2f69c2938a9f6bd36740f050c9e2661206b17c34 (diff) | |
download | public-inbox-78d765a8d03967d0dfd6ce6232ffad5c89319909.tar.gz |
This prevents multiple update processes from stepping over each other while called under the lock, and also allows the new -watch process to update the index iff indexing was desired.
Diffstat (limited to 'script/public-inbox-learn')
-rwxr-xr-x | script/public-inbox-learn | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/script/public-inbox-learn b/script/public-inbox-learn index 817fd5e9..b05ef056 100755 --- a/script/public-inbox-learn +++ b/script/public-inbox-learn @@ -84,10 +84,6 @@ foreach my $recipient (keys %dests) { $im->add($mime); } $im->done; - eval { - require PublicInbox::SearchIdx; - PublicInbox::SearchIdx->new($git_dir, 2)->index_sync; - }; } if ($err) { |