first implementation
This commit is contained in:
@@ -90,11 +90,12 @@ def run_batch(
|
||||
print(f"{'='*64}")
|
||||
print("Stage 1: ingesting jobs…")
|
||||
|
||||
fetch_limit = min(settings.results_wanted, batch_size)
|
||||
raw_jobs: list[RawJob] = source.fetch_recent_jobs(
|
||||
search_terms=search_terms,
|
||||
location=location,
|
||||
hours_old=hours_old,
|
||||
results_wanted=settings.results_wanted,
|
||||
results_wanted=fetch_limit,
|
||||
)
|
||||
summary.fetched = len(raw_jobs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user