We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 935f6d3 commit 08b7258Copy full SHA for 08b7258
1 file changed
src/kernel/Communicator.cc
@@ -1609,6 +1609,9 @@ int Communicator::create_poller(size_t poller_threads)
1609
if ((ssize_t)params.max_open_files < 0)
1610
return -1;
1611
1612
+ if (params.max_open_files > 1024 * 1024)
1613
+ params.max_open_files = 1024 * 1024;
1614
+
1615
this->msgqueue = msgqueue_create(16 * 1024, sizeof (struct poller_result));
1616
if (this->msgqueue)
1617
{
0 commit comments