Skip to content

Commit

Permalink
progres bar: limit refresh to 5 times per second
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmancom committed Jul 10, 2024
1 parent b61c629 commit 35899a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/cli/progress_bars.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _rich_progress_bar(
TimeRemainingColumn(),
)

progress = Progress(*columns, refresh_per_second=30)
progress = Progress(*columns, refresh_per_second=5)
task_id = progress.add_task(" " * (get_indentation() + 2), total=total)
with progress:
for chunk in iterable:
Expand Down

0 comments on commit 35899a6

Please sign in to comment.