diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-01-04 11:57:03 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-01-04 11:57:03 +0100 |
commit | 64b4d748ecda0b0355ea8680e743a8ba0b19a1e1 (patch) | |
tree | 628af1521f4d3b110f4419cb85672bac8986b3f2 | |
parent | d4a21aaa3d3b47e111b9c205cc31fc1ecebdd48d (diff) | |
download | jenkins.debian.net-64b4d748ecda0b0355ea8680e743a8ba0b19a1e1.tar.xz |
reproducible: add comment explaining choice of hardcoding limit here
-rwxr-xr-x | bin/reproducible_scheduler.py | 1 |
1 files changed, 1 insertions, 0 deletions
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.') |