diff options
author | Eric Wong <e@80x24.org> | 2020-11-07 10:56:56 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-11-08 10:18:19 +0000 |
commit | 03aa0e9fd11d2b5cf0b7352310da4f7748b76bbb (patch) | |
tree | 53ce0696e58cf1a5951ee98c5429c1be75f0d244 | |
parent | d463ecedb2030e53eb92befe8f642d9e244c9eae (diff) | |
download | public-inbox-03aa0e9fd11d2b5cf0b7352310da4f7748b76bbb.tar.gz |
"deleted" messages (via -learn <spam|rm>) in the source inboxes are likely to already be unindexed, so avoid triggering needless warnings about the spam message being missing.
-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 9da42538..2bb9afce 100644 --- a/lib/PublicInbox/ExtSearchIdx.pm +++ b/lib/PublicInbox/ExtSearchIdx.pm @@ -164,7 +164,8 @@ sub do_finalize ($) { } elsif (exists $req->{new_smsg}) { # totally unseen messsage index_unseen($req); } else { - warn "W: ignoring delete $req->{oid} (not found)\n"; + # `d' message was already unindexed in the v1/v2 inboxes, + # so it's too noisy to warn, here. } } |