mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-04 01:36:23 -04:00
Make 'main/many_events' test 70 fds, not 64.
This is mainly intended to ensure that we don't get hung up on the 64-handle limit that lots of O(n) Windows functions (but FWICT not select) like to enforce.
This commit is contained in:
parent
657d1b6d3f
commit
33874b0528
@ -2014,9 +2014,11 @@ many_event_cb(evutil_socket_t fd, short event, void *arg)
|
|||||||
static void
|
static void
|
||||||
test_many_events(void *arg)
|
test_many_events(void *arg)
|
||||||
{
|
{
|
||||||
/* Try 64 events that should all be aready at once. This will
|
/* Try 70 events that should all be aready at once. This will
|
||||||
* exercise the "resize" code on most of the backends. */
|
* exercise the "resize" code on most of the backends, and will make
|
||||||
#define MANY 64
|
* sure that we can get past the 64-handle limit of some windows
|
||||||
|
* functions. */
|
||||||
|
#define MANY 70
|
||||||
|
|
||||||
struct basic_test_data *data = arg;
|
struct basic_test_data *data = arg;
|
||||||
struct event_base *base = data->base;
|
struct event_base *base = data->base;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user