Skip to content

Commit a43d8ee

Browse files
committed
Sets default interval hours for subnets price to 4, bc of rate limiting.
1 parent 5d9cb4e commit a43d8ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bittensor_cli/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5009,7 +5009,7 @@ def subnets_price(
50095009
"Netuids to show the price for. Separate multiple netuids with a comma, for example: `-n 0,1,2`.",
50105010
),
50115011
interval_hours: int = typer.Option(
5012-
24,
5012+
4,
50135013
"--interval-hours",
50145014
"--interval",
50155015
help="The number of hours to show the historical price for.",

bittensor_cli/src/commands/subnets/price.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async def price(
2727
subtensor: "SubtensorInterface",
2828
netuids: list[int],
2929
all_netuids: bool = False,
30-
interval_hours: int = 24,
30+
interval_hours: int = 4,
3131
html_output: bool = False,
3232
log_scale: bool = False,
3333
json_output: bool = False,

0 commit comments

Comments
 (0)