From af4210088eb1ad07215f949be5fba63d2342f6b2 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 19 Feb 2023 17:31:35 +0100 Subject: [PATCH] Reduce sleep times --- src/client/updater/updater_ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/updater/updater_ui.cpp b/src/client/updater/updater_ui.cpp index f042b4a8..505ae606 100644 --- a/src/client/updater/updater_ui.cpp +++ b/src/client/updater/updater_ui.cpp @@ -24,7 +24,7 @@ namespace updater // Is it good to add artificial sleeps? // Makes the ui nice, for sure. - std::this_thread::sleep_for(1s); + std::this_thread::sleep_for(200ms); } void updater_ui::done_update() @@ -45,7 +45,7 @@ namespace updater this->downloaded_files_.clear(); this->downloading_files_.clear(); - std::this_thread::sleep_for(1s); + std::this_thread::sleep_for(200ms); } void updater_ui::begin_file(const file_info& file)