Explorar o código

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

Andreas Kling %!s(int64=4) %!d(string=hai) anos
pai
achega
a8c823f242
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Kernel/Net/LocalSocket.cpp

+ 1 - 1
Kernel/Net/LocalSocket.cpp

@@ -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;