Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
b1be7b9f
Unverified
Commit
b1be7b9f
authored
Dec 05, 2017
by
Gabi Melman
Committed by
GitHub
Dec 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
async log: increased sleep to to 500ms the worker loop
parent
2f81ff7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
async_log_helper.h
include/spdlog/details/async_log_helper.h
+2
-2
No files found.
include/spdlog/details/async_log_helper.h
View file @
b1be7b9f
...
...
@@ -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
2
00 ms
return
sleep_for
(
milliseconds
(
2
00
));
// sleep for
5
00 ms
return
sleep_for
(
milliseconds
(
5
00
));
}
// wait for the queue to be empty
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment