From da38e2af42c1b646a7435c9ff69771f3e5781f1d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 21 Nov 2023 20:45:56 +0100 Subject: util.poll: Quadruple number of events retrieved at once from epoll Better performance under load maybe? See b890ceb1c24f for previous increase --- util-src/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-src/poll.c b/util-src/poll.c index d3d7640f..e69528fa 100644 --- a/util-src/poll.c +++ b/util-src/poll.c @@ -26,7 +26,7 @@ #include #include #ifndef MAX_EVENTS -#define MAX_EVENTS 64 +#define MAX_EVENTS 256 #endif #endif #ifdef USE_POLL -- cgit v1.2.3