# HG changeset patch # User Kim Alvefur # Date 1539005595 -7200 # Node ID b890ceb1c24f4f8dd1e24d2f53a0927711a00462 # Parent 94033a2529b90322cad76173bb4ccedabdebca4d util.poll: Increase max epoll events per call This makes the struct roughly the same size in both epoll and select mode (64bit). There doesn’t seem to be much guidance on an appropriate size, it does not seem to matter too much since if there are more events they will simply show up in the next epoll_wait call. The number of exactly concurrent events should be fairly low most of the time anyways. diff -r 94033a2529b9 -r b890ceb1c24f util-src/poll.c --- a/util-src/poll.c Mon Oct 08 15:03:26 2018 +0200 +++ b/util-src/poll.c Mon Oct 08 15:33:15 2018 +0200 @@ -19,7 +19,7 @@ #ifdef USE_EPOLL #include #ifndef MAX_EVENTS -#define MAX_EVENTS 10 +#define MAX_EVENTS 64 #endif #else #include