Selaa lähdekoodia

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

Andreas Kling 4 vuotta sitten
vanhempi
commit
a8c823f242
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
         return EINVAL;
     auto& queue = sendfd_queue_for(socket_description);
     auto& queue = sendfd_queue_for(socket_description);
     // FIXME: Figure out how we should limit this properly.
     // FIXME: Figure out how we should limit this properly.
-    if (queue.size() > 16)
+    if (queue.size() > 128)
         return EBUSY;
         return EBUSY;
     queue.append(move(passing_description));
     queue.append(move(passing_description));
     return KSuccess;
     return KSuccess;