mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.poll: Quadruple number of events retrieved at once from epoll
Better performance under load maybe? See b890ceb1c24f for previous increase
This commit is contained in:
parent
f66f6ba60b
commit
da38e2af42
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/epoll.h>
|
#include <sys/epoll.h>
|
||||||
#ifndef MAX_EVENTS
|
#ifndef MAX_EVENTS
|
||||||
#define MAX_EVENTS 64
|
#define MAX_EVENTS 256
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_POLL
|
#ifdef USE_POLL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue