Skip to content

Commit

Permalink
async log: increased sleep to to 500ms the worker loop
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime authored Dec 5, 2017
1 parent 2f81ff7 commit b1be7b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/spdlog/details/async_log_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1be7b9

Please sign in to comment.