local env done

This commit is contained in:
2026-05-13 15:21:37 -03:00
parent 55aa31eff5
commit 7c5aa14409
10 changed files with 97 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ async def _run():
async def producer():
paginator = s3.get_paginator("list_objects_v2")
async for page in paginator.paginate(Bucket=BUCKET, Prefix=PREFIX):
async for page in paginator.paginate(Bucket=BUCKET, Prefix=PREFIX, PaginationConfig={"PageSize": 100}):
for obj in page.get("Contents", []) or []:
key = obj["Key"]
if key.lower().endswith(".pdf"):