From 18599e962e1691b0ed83b513726a46a52d31795d Mon Sep 17 00:00:00 2001 From: Fasand Date: Fri, 30 Aug 2024 12:46:21 +0200 Subject: [PATCH] #678: ArchiveIt seeds now disregard source frequency, all archiving Seeds considered --- Seeder/harvests/models.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Seeder/harvests/models.py b/Seeder/harvests/models.py index 46a961a..3a5a5e7 100755 --- a/Seeder/harvests/models.py +++ b/Seeder/harvests/models.py @@ -482,9 +482,8 @@ def get_oneshot_seeds(self): def get_archiveit_seeds(self): if not self.archive_it: return set() - # Get all potential ArchiveIt seeds - archiveit = Seed.objects.archiving().filter( - source__frequency__in=[1, 2, 4, 6]) + # Get all potential ArchiveIt seeds across all source frequencies + archiveit = Seed.objects.archiving() archiveit = set(archiveit.values_list('url', flat=True)) # Get all harvested seeds up to this Harvest's scheduled date previously_harvested = self.get_previously_harvested()