diff options
author | Eric Wong <e@80x24.org> | 2021-04-19 08:52:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-19 20:16:00 +0000 |
commit | 48a3de066689174f65d5e12ebaff8f03f97942fb (patch) | |
tree | d9c4b22420bf97ca918ef87ed467924e32d45de2 /lib/PublicInbox/LeiSavedSearch.pm | |
parent | f9d6b4a0f5f66a084682aba229b44ef47afdfc35 (diff) | |
download | public-inbox-48a3de066689174f65d5e12ebaff8f03f97942fb.tar.gz |
This necessitated fixing pause_dedupe to release the handle used by ->lock_for_scope_fast, but otherwise no changes to the LeiToMail package.
Diffstat (limited to 'lib/PublicInbox/LeiSavedSearch.pm')
-rw-r--r-- | lib/PublicInbox/LeiSavedSearch.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiSavedSearch.pm b/lib/PublicInbox/LeiSavedSearch.pm index 948e4954..cd9effce 100644 --- a/lib/PublicInbox/LeiSavedSearch.pm +++ b/lib/PublicInbox/LeiSavedSearch.pm @@ -182,6 +182,7 @@ sub git { $_[0]->{ale}->git } sub pause_dedupe { my ($self) = @_; $self->{ale}->git->cleanup; + my $lockfh = delete $self->{lockfh}; # from lock_for_scope_fast; my $oidx = delete($self->{oidx}) // return; $oidx->commit_lazy; } |