forked from MrBesen/lolautoaccept
dont log short durations
This commit is contained in:
parent
98f2221cec
commit
8779d5a800
|
@ -176,7 +176,8 @@ void LolAutoAccept::run() {
|
|||
|
||||
auto end = std::chrono::high_resolution_clock::now();
|
||||
std::chrono::duration<double> dur = (end-start);
|
||||
Log::info << "iteration took: " << (dur.count() * 1000 ) << " ms";
|
||||
if(dur.count() > 1e-5)
|
||||
Log::info << "iteration took: " << (dur.count() * 1000 ) << " ms";
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(800));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue