Skip to content

Commit

Permalink
Reduce the batch size when crawling
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Aug 14, 2021
1 parent a2c4f0f commit 9f5eb7e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/tasks/crawl.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@
valid_sources = package.sources.sources_for(explicit_package)
valid_dependency_sources = []
else:
# Limit each run to 400 packages
valid_sources = package.sources.outdated_sources(60, 400)
valid_dependency_sources = dependency.outdated_sources(60, 400)
valid_sources = package.sources.outdated_sources(60, 200)
valid_dependency_sources = dependency.outdated_sources(60, 200)

invalid_sources = package.sources.invalid_sources(valid_sources)
invalid_dependency_sources = dependency.invalid_sources(valid_dependency_sources)
Expand Down

0 comments on commit 9f5eb7e

Please sign in to comment.