From 991f86dde715961048dba28b757b66071fc7500d Mon Sep 17 00:00:00 2001 From: fadhil riyanto Date: Tue, 8 Oct 2024 09:16:28 +0700 Subject: add epoll to the thread instead using busy wait Signed-off-by: fadhil riyanto --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index 6e183ff..e2845da 100644 --- a/config.h +++ b/config.h @@ -4,5 +4,6 @@ #define MAX_ACCEPT_WORKER 5 #define EPOLL_ACCEPTFD_WATCHLIST_LEN 100 #define FREE_THREAD_ALLOC 100 +#define THREAD_MAX_QUEUE_EVENTS 50 #endif \ No newline at end of file -- cgit v1.2.3