Reduce sleep times
This commit is contained in:
parent
7edeedacc8
commit
af4210088e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user