Skip to content

Commit

Permalink
test: narrow down dataset page
Browse files Browse the repository at this point in the history
  • Loading branch information
nickumia-reisys committed Jul 27, 2023
1 parent 46a8cc4 commit d0af6d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/geodatagov/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# default constants
# for sitemap_to_s3
UPLOAD_TO_S3 = True
PAGE_SIZE = 10000
PAGE_SIZE = 100
MAX_PER_PAGE = 50000
# for db_solr_sync
_INDICES = {"package": PackageSearchIndex}
Expand Down Expand Up @@ -230,7 +230,7 @@ def sitemap_to_s3(upload_to_s3: bool, page_size: int, max_per_page: int):
log.info("Nothing to process, exiting.")
return

start = 140000
start = 160000

num_of_pages = (count // page_size) + 1

Expand Down

0 comments on commit d0af6d9

Please sign in to comment.