Skip to content

Commit

Permalink
Reduce stats size
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Aug 30, 2024
1 parent 88c3f70 commit 1866b4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pypi_data/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
app = typer.Typer()
session = requests.Session()
MB = 1024 * 1024
GB = MB * 1024

console = Console()

Expand Down Expand Up @@ -89,7 +88,7 @@ def group_by_size(github: Github, target_size: int) -> Iterable[list[tuple[int,
@app.command()
def group_index_urls(github_token: GithubToken,
output_path: Annotated[Path, typer.Argument(dir_okay=True, file_okay=False)],
target_size: int = 1.3 * GB):
target_size: int = 700 * MB):
g = github_client(github_token)
outputs = []
group_dir = output_path / "groups"
Expand Down

0 comments on commit 1866b4b

Please sign in to comment.