Skip to content

Commit 662ed87

Browse files
committed
* server now uses more threads again
1 parent 5eb6c28 commit 662ed87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace netlib {
4545
callback_error_t _cb_on_error{};
4646
std::thread _accept_thread;
4747
std::thread _processor_thread;
48-
netlib::thread_pool _thread_pool = netlib::thread_pool::create<1,1>();
48+
netlib::thread_pool _thread_pool;
4949
std::map<socket_t, std::atomic<bool>> _busy_map;
5050

5151
inline void processing_func() {

0 commit comments

Comments
 (0)