summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-10-01 08:11:00 +0700
committerfadhil riyanto <me@fadev.org>2024-10-01 08:11:00 +0700
commit13bdab6ce8012124c6169c87710e3ecd1706dde8 (patch)
tree78bacf8d674084ec238070f69a138f188a9dc93d /config.h
parent4ef48072c061b9146dc1c43fdb64bad0513d5d39 (diff)
fix sigsegv when thread ended. Use thread pool instead
use own th_pool struct instead use fd_sockaddr_list Signed-off-by: fadhil riyanto <me@fadev.org>
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index baeab66..7d50464 100644
--- a/config.h
+++ b/config.h
@@ -3,5 +3,6 @@
#define MAX_ACCEPT_WORKER 5
#define EPOLL_ACCEPTFD_WATCHLIST_LEN 20
+#define FREE_THREAD_ALLOC 50
#endif \ No newline at end of file