Reduce sleep times

This commit is contained in:
momo5502 2023-02-19 17:31:35 +01:00
parent 7edeedacc8
commit af4210088e

View File

@ -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)