Commit c6e7f8fd authored by Luis Araujo's avatar Luis Araujo Committed by Emanuele Aina

Increase number of jobs query

Increase number of jobs query, so more reports are available from the
index page.
Signed-off-by: Luis Araujo's avatarLuis Araujo <luis.araujo@collabora.co.uk>
parent 6759d6d2
Pipeline #4214 passed with stage
in 1 minute and 27 seconds
......@@ -54,7 +54,7 @@ REPORT_PLATFORMS = [
def generate_index(username=None):
jobs_versions = set()
# Limit the result to 500 jobs in descending order.
for job in Job.query.order_by(desc(Job.creation_time)).limit(500).all():
for job in Job.query.order_by(desc(Job.creation_time)).limit(3000).all():
jobs_versions.add((job.image_release, job.image_build,
job.image_deployment))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment