1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

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

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;