mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-15 10:39:37 +00:00
Update README
This commit is contained in:
1 parent
d61d63dd97
commit
fe01fa760b
1 file changed
+1
-5
@@ -199,11 +199,7 @@ Please check [here](https://github.com/yhirose/cpp-httplib/blob/master/example/s
|
|||||||
|
|
||||||
`ThreadPool` is used as a default task queue, and the default thread count is set to value from `std::thread::hardware_concurrency()`.
|
`ThreadPool` is used as a default task queue, and the default thread count is set to value from `std::thread::hardware_concurrency()`.
|
||||||
|
|
||||||
Set thread count to 8:
|
You can change the thread count by setting `CPPHTTPLIB_THREAD_POOL_COUNT`.
|
||||||
|
|
||||||
```cpp
|
|
||||||
#define CPPHTTPLIB_THREAD_POOL_COUNT 8
|
|
||||||
```
|
|
||||||
|
|
||||||
### Override the default thread pool with yours
|
### Override the default thread pool with yours
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user