diff options
author | Kim Alvefur <zash@zash.se> | 2023-11-21 20:45:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-11-21 20:45:56 +0100 |
commit | da38e2af42c1b646a7435c9ff69771f3e5781f1d (patch) | |
tree | 1f02ed8aef6ee5585d909b3a9594c32bbba9518a /util-src | |
parent | f66f6ba60b5b6bfde77deb76b478c940cb2bce2a (diff) | |
download | prosody-da38e2af42c1b646a7435c9ff69771f3e5781f1d.tar.gz prosody-da38e2af42c1b646a7435c9ff69771f3e5781f1d.zip |
util.poll: Quadruple number of events retrieved at once from epoll
Better performance under load maybe?
See b890ceb1c24f for previous increase
Diffstat (limited to 'util-src')
-rw-r--r-- | util-src/poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <unistd.h> #include <sys/epoll.h> #ifndef MAX_EVENTS -#define MAX_EVENTS 64 +#define MAX_EVENTS 256 #endif #endif #ifdef USE_POLL |