Skip to content

Commit e3ade95

Browse files
tcl3awesomekling
authored andcommitted
pro: Change the download speed reporting interval to 1000 ms
This gives a good balance between update frequency and readability.
1 parent 35169ef commit e3ade95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Userland/Utilities/pro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
235235
u64 previous_downloaded_size = 0;
236236
u64 current_bytes_per_second_speed = 0;
237237
u32 const report_time_in_ms = 100;
238-
u32 const speed_update_time_in_ms = 4000;
238+
u32 const speed_update_time_in_ms = 1000;
239239

240240
auto previous_report_time = MonotonicTime::now();
241241
auto previous_speed_update_time = previous_report_time;

0 commit comments

Comments
 (0)