SystemServer: Bump the default listening socket backlog to 16

We now have many clients that are trying to connect to the WindowServer
simultaneously on startup. We could make this configurable, but 16 should
be enough for anybody ™.
This commit is contained in:
Sergey Bugaev 2020-05-02 16:49:37 +03:00 committed by Andreas Kling
parent ad309d4eca
commit d5582596a9
Notes: sideshowbarker 2024-07-19 07:02:41 +09:00

View file

@ -143,7 +143,7 @@ void Service::setup_socket()
ASSERT_NOT_REACHED();
}
rc = listen(m_socket_fd, 5);
rc = listen(m_socket_fd, 16);
if (rc < 0) {
perror("listen");
ASSERT_NOT_REACHED();