Browse Source

Updated README

yhirose 6 years ago
parent
commit
e8d33a77e0
1 changed files with 3 additions and 6 deletions
  1. 3 6
      README.md

+ 3 - 6
README.md

@@ -181,16 +181,13 @@ svr.Get("/chunked", [&](const Request& req, Response& res) {
 
 ### Default thread pool support
 
-Set thread count to 8:
 
-```cpp
-#define CPPHTTPLIB_THREAD_POOL_COUNT 8
-```
+`ThreadPool` is used as a default task queue, and the default thread count is set to value from `std::thread::hardware_concurrency()`.
 
-Disable the default thread pool:
+Set thread count to 8:
 
 ```cpp
-#define CPPHTTPLIB_THREAD_POOL_COUNT 0
+#define CPPHTTPLIB_THREAD_POOL_COUNT 8
 ```
 
 ### Override the default thread pool with yours