mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
pro: Change the download speed reporting interval to 1000 ms
This gives a good balance between update frequency and readability.
This commit is contained in:
parent
35169ef640
commit
e3ade95d24
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
u64 previous_downloaded_size = 0;
|
||||
u64 current_bytes_per_second_speed = 0;
|
||||
u32 const report_time_in_ms = 100;
|
||||
u32 const speed_update_time_in_ms = 4000;
|
||||
u32 const speed_update_time_in_ms = 1000;
|
||||
|
||||
auto previous_report_time = MonotonicTime::now();
|
||||
auto previous_speed_update_time = previous_report_time;
|
||||
|
|
Loading…
Add table
Reference in a new issue