mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
async log: increased sleep to to 500ms the worker loop
This commit is contained in:
parent
2f81ff7f17
commit
b1be7b9fea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user