]> Sergey Matveev's repositories - public-inbox.git/commitdiff
search: drop reopen retry message
authorEric Wong <e@80x24.org>
Tue, 21 Sep 2021 07:41:57 +0000 (07:41 +0000)
committerEric Wong <e@80x24.org>
Tue, 21 Sep 2021 19:18:36 +0000 (19:18 +0000)
It's needless noise in syslogs for daemons and unnecessarily
alarming to users on the command-line.

lib/PublicInbox/Search.pm

index af0a35d9b599f1c991ba4c59b7c926178793d940..1d1cd2f5de406babc8c823222d144043e6bd59f2 100644 (file)
@@ -409,7 +409,6 @@ sub retry_reopen {
                # Exception: The revision being read has been discarded -
                # you should call Xapian::Database::reopen()
                if (ref($@) =~ /\bDatabaseModifiedError\b/) {
-                       warn "# reopen try #$i on $@\n";
                        reopen($self);
                } else {
                        # let caller decide how to spew, because ExtMsg queries