From 64b4d748ecda0b0355ea8680e743a8ba0b19a1e1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 4 Jan 2016 11:57:03 +0100 Subject: reproducible: add comment explaining choice of hardcoding limit here --- bin/reproducible_scheduler.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index ad919b5d..900c8fb1 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -477,6 +477,7 @@ def schedule_404_versions(arch, total): for suite in SUITES: log.info('Requesting 404 packages in %s/%s...', suite, arch) + # hard code the limit to 42 as 404s rarely happen anyway packages[suite] = query_404_versions(suite, arch, 42) log.info('Received ' + str(len(packages[suite])) + ' 404 packages in ' + suite + '/' + arch + ' to schedule.') -- cgit v1.2.3-70-g09d2