summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-10-08 09:16:28 +0700
committerfadhil riyanto <me@fadev.org>2024-10-08 09:16:28 +0700
commit991f86dde715961048dba28b757b66071fc7500d (patch)
treed526c3094218e20216695b57d96c7c567acda6ed /config.h
parent0bd2e38a8ff36d7e2c6cdf54515af9ce38a46a9c (diff)
add epoll to the thread instead using busy wait
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 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