Skip to content

Commit

Permalink
Fix memory log
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Oct 20, 2024
1 parent 9efb6dc commit c461928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pypi_data/combine_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ async def combine_parquet(repositories: list[CodeRepository], directory: Path):
int(total_memory * 0.75), # 75% of total memory
1024 * 1024 * 1024 * 10, # 10 GB
)
log.info(f"Total system memory: {total_memory / 1024 / 1024} MB")
log.info(f"Configured buffer size: {max_buffer_size / 1024 / 1024} MB")
log.info(f"Total system memory: {total_memory / 1024 / 1024:.1f} MB")
log.info(f"Configured buffer size: {max_buffer_size / 1024 / 1024:.1f} MB")

async with httpx.AsyncClient(follow_redirects=True) as client:
while repositories:
Expand Down

0 comments on commit c461928

Please sign in to comment.