diff options
author | Eric Wong <e@80x24.org> | 2021-02-23 03:38:21 +0600 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-24 11:12:56 +0000 |
commit | e01fe4f05196b56775fffffe23572ec648b14ec6 (patch) | |
tree | ba6fec8fcfe4e0bdabd45471131f33e1e557c6f2 /lib/PublicInbox/ExtSearchIdx.pm | |
parent | a5af0bd94dc0504ec34d49199eb2b7d39ceb8557 (diff) | |
download | public-inbox-e01fe4f05196b56775fffffe23572ec648b14ec6.tar.gz |
Apparently this feature is only in Perl 5.12+, and we're still on Perl 5.10.
Diffstat (limited to 'lib/PublicInbox/ExtSearchIdx.pm')
-rw-r--r-- | lib/PublicInbox/ExtSearchIdx.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/ExtSearchIdx.pm b/lib/PublicInbox/ExtSearchIdx.pm index a4b3bbd5..d0c9c2f7 100644 --- a/lib/PublicInbox/ExtSearchIdx.pm +++ b/lib/PublicInbox/ExtSearchIdx.pm @@ -1011,8 +1011,9 @@ sub _watch_commit { # PublicInbox::DS::add_timer callback delete $self->{-commit_timer}; eidxq_process($self, $self->{-watch_sync}); eidxq_release($self); - delete local $self->{-watch_sync}->{-regen_fmt}; + my $fmt = delete $self->{-watch_sync}->{-regen_fmt}; reindex_checkpoint($self, $self->{-watch_sync}); + $self->{-watch_sync}->{-regen_fmt} = $fmt; # call event_step => done unless commit_timer is armed PublicInbox::DS::requeue($self); |