Skip to content

Commit f555906

Browse files
committed
rt09x: new commands for 'stats' queries
1 parent 16552d1 commit f555906

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pyrocore/util/stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def engine_data(engine):
2828
views = ("default", "main", "started", "stopped", "complete",
2929
"incomplete", "seeding", "leeching", "active", "messages")
3030
methods = [
31-
"get_up_rate", "get_upload_rate",
32-
"get_down_rate", "get_download_rate",
31+
"throttle.global_up.rate", "throttle.global_up.max_rate",
32+
"throttle.global_down.rate", "throttle.global_down.max_rate",
3333
]
3434

3535
# Get data via multicall

0 commit comments

Comments
 (0)