Skip to content

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