async log: increased sleep to to 500ms the worker loop

This commit is contained in:
Gabi Melman 2017-12-05 14:07:13 +02:00 committed by GitHub
parent 2f81ff7f17
commit b1be7b9fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,8 +378,8 @@ inline void spdlog::details::async_log_helper::sleep_or_yield(const spdlog::log_
if (time_since_op <= milliseconds(200))
return sleep_for(milliseconds(20));
// sleep for 200 ms
return sleep_for(milliseconds(200));
// sleep for 500 ms
return sleep_for(milliseconds(500));
}
// wait for the queue to be empty