Kernel: Bump the number of fd's that can be queued on a local socket

This commit is contained in:
Andreas Kling 2021-01-29 22:11:59 +01:00
parent 0324144e2a
commit a8c823f242
Notes: sideshowbarker 2024-07-18 22:45:52 +09:00

View file

@ -455,7 +455,7 @@ KResult LocalSocket::sendfd(const FileDescription& socket_description, FileDescr
return EINVAL;
auto& queue = sendfd_queue_for(socket_description);
// FIXME: Figure out how we should limit this properly.
if (queue.size() > 16)
if (queue.size() > 128)
return EBUSY;
queue.append(move(passing_description));
return KSuccess;