mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
udp: fix torrent count statistics
This commit is contained in:
parent
68e951cf79
commit
ebf4ecbf6a
3 changed files with 25 additions and 13 deletions
|
|
@ -249,7 +249,10 @@ fn print_to_stdout(config: &Config, statistics: &CollectedStatistics) {
|
|||
" error: {:>10}",
|
||||
statistics.responses_per_second_error
|
||||
);
|
||||
println!(" torrents: {:>10}", statistics.num_torrents);
|
||||
println!(
|
||||
" torrents: {:>10} (updated every {}s)",
|
||||
statistics.num_torrents, config.cleaning.torrent_cleaning_interval
|
||||
);
|
||||
println!(
|
||||
" peers: {:>10} (updated every {}s)",
|
||||
statistics.num_peers, config.cleaning.torrent_cleaning_interval
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue