Skip to content

Commit

Permalink
feat: print number of runners and requests on "app runners" (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmlad authored Feb 27, 2025
1 parent 3829273 commit f52020e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/fal/src/fal/cli/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ def _runners(args):
f"{runner.uptime} ({runner.uptime.total_seconds()}s)",
)

args.console.print(f"Runners: {len(runners)}")
args.console.print(table)

requests_table = Table()
Expand All @@ -291,6 +292,7 @@ def _runners(args):
lease.get("caller_user_id") or "",
)

args.console.print(f"Requests: {len(requests_table.rows)}")
args.console.print(requests_table)


Expand Down

0 comments on commit f52020e

Please sign in to comment.