Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions site/cds_rdm/administration/harvester_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _get_inspire_job_id(self):
job = Job.query.filter_by(task="process_inspire").first()
return job.id if job else None

def _fetch_recent_runs(self, job_id, limit=20):
def _fetch_recent_runs(self, job_id, limit=100):
"""Fetch recent parent runs for the INSPIRE job."""
# Fetch only parent runs (parent_run_id is None) that have started
runs = (
Expand Down Expand Up @@ -131,7 +131,7 @@ def get_context(self, **kwargs):
# Get INSPIRE job and its runs
job_id = self._get_inspire_job_id()
if job_id:
runs = self._fetch_recent_runs(job_id, limit=20)
runs = self._fetch_recent_runs(job_id)
requested_run_id = request.args.get("run_id")
default_run = next(
(run for run in runs if run["id"] == requested_run_id),
Expand Down
Loading