mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00: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
Notes:
sideshowbarker
2024-07-16 23:54:15 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/e3ade95d24 Pull-request: https://github.com/SerenityOS/serenity/pull/19542 Reviewed-by: https://github.com/gmta ✅
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…
Reference in a new issue