Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct default thread pool size in README.md #2077

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

falbrechtskirchinger
Copy link
Contributor

cpp-httplib/httplib.h

Lines 129 to 134 in a4b2c61

#ifndef CPPHTTPLIB_THREAD_POOL_COUNT
#define CPPHTTPLIB_THREAD_POOL_COUNT \
((std::max)(8u, std::thread::hardware_concurrency() > 0 \
? std::thread::hardware_concurrency() - 1 \
: 0))
#endif

@yhirose
Copy link
Owner

yhirose commented Feb 20, 2025

Thanks for the correction!

@yhirose yhirose merged commit b944f94 into yhirose:master Feb 20, 2025
7 of 9 checks passed
@falbrechtskirchinger falbrechtskirchinger deleted the patch-1 branch February 20, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants