diff options
author | Eric Wong <e@80x24.org> | 2021-07-25 00:11:02 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-07-25 00:19:20 +0000 |
commit | 6896585267c269cb344b01af102f6f73602548ad (patch) | |
tree | b44e819159d30a30b5aada4a9ee77630589fe728 /lib | |
parent | 613a1e038f9bd7b4c9287bda621b6e19eac24684 (diff) | |
download | public-inbox-6896585267c269cb344b01af102f6f73602548ad.tar.gz |
extindex: improve comment around git->async_wait_all
I found myself tempted to remove this, but it appears impossible due to odd messages which have multiple Message-IDs.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/ExtSearchIdx.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/PublicInbox/ExtSearchIdx.pm b/lib/PublicInbox/ExtSearchIdx.pm index 2311161e..1c2a9758 100644 --- a/lib/PublicInbox/ExtSearchIdx.pm +++ b/lib/PublicInbox/ExtSearchIdx.pm @@ -937,7 +937,9 @@ EOS }; $self->git->cat_async($smsg->{blob}, \&dd_smsg, $dd); } - # need to wait on every single one + # need to wait on every single one @smsg contents can get + # invalidated inside dd_smsg for messages with multiple + # Message-IDs. $self->git->async_wait_all; if (checkpoint_due($sync)) { |