about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-04-20 03:27:39 +0000
committerEric Wong <e@80x24.org>2018-04-20 03:27:55 +0000
commit88057373c20150001b3f944c33fd7577a74bab85 (patch)
treeca6f533138e6ccab82ee1efd23519c9009c3675e
parent475e4d3f175a05acc4eab0b37fa9f52dbfecd2f8 (diff)
downloadpublic-inbox-88057373c20150001b3f944c33fd7577a74bab85.tar.gz
I was using this to trace the path of brian's message.

Fixes: 017fed7bc4d33ac4
	("searchidx: regenerate and avoid article number gaps on full index")
-rw-r--r--lib/PublicInbox/SearchIdx.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm
index 8c3bc2d3..4dc81352 100644
--- a/lib/PublicInbox/SearchIdx.pm
+++ b/lib/PublicInbox/SearchIdx.pm
@@ -551,16 +551,11 @@ sub read_log {
         my %D;
         my $line;
         my $newest;
-        my $mid = '20170114215743.5igbjup6qpsh3jfg@genre.crustytoothpaste.net';
         while (defined($line = <$log>)) {
                 if ($line =~ /$addmsg/o) {
                         my $blob = $1;
                         delete $D{$blob} and next;
                         my $mime = do_cat_mail($git, $blob, \$bytes) or next;
-                        my $mids = mids($mime->header_obj);
-                        foreach (@$mids) {
-                                warn "ADD $mid\n" if ($_ eq $mid);
-                        }
                         batch_adjust(\$max, $bytes, $batch_cb, $latest);
                         $add_cb->($self, $mime, $bytes, $blob);
                 } elsif ($line =~ /$delmsg/o) {
@@ -574,10 +569,6 @@ sub read_log {
         # get the leftovers
         foreach my $blob (keys %D) {
                 my $mime = do_cat_mail($git, $blob, \$bytes) or next;
-                my $mids = mids($mime->header_obj);
-                foreach (@$mids) {
-                        warn "DEL $mid\n" if ($_ eq $mid);
-                }
                 $del_cb->($self, $mime);
         }
         $batch_cb->($latest, $newest);