From 63d7b8ceee55a34cde983e8548d5ce61050d2891 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 23 Sep 2021 00:46:25 +0000 Subject: daemons: revamp periodic cleanup task Neither Inboxes nor ExtSearch objects were retrying correctly when there are live git processes, but the inboxes were getting rescanned for search or other reasons. Ensure the scan retries eventually if there's live processes. We also need to update the cleanup task to detect Xapian shard count changes, since Xapian ->reopen is enough to detect any other Xapian changes. Otherwise, we just issue an inexpensive ->reopen call and let Xapian check whether there's anything worth reopening. This also lets us eliminate the Devel::Peek dependency. --- ci/deps.perl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ci') diff --git a/ci/deps.perl b/ci/deps.perl index a797911a..ae85986d 100755 --- a/ci/deps.perl +++ b/ci/deps.perl @@ -17,7 +17,6 @@ my $profiles = { essential => [ qw( git perl - Devel::Peek Digest::SHA Encode ExtUtils::MakeMaker @@ -79,10 +78,6 @@ my $non_auto = { pkg => 'p5-TimeDate', rpm => 'perl-TimeDate', }, - 'Devel::Peek' => { - deb => 'perl', # libperl5.XX, but the XX varies - pkg => 'perl5', - }, 'Digest::SHA' => { deb => 'perl', # libperl5.XX, but the XX varies pkg => 'perl5', -- cgit v1.2.3-24-ge0c7