diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-05-02 16:49:37 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-02 15:59:37 +0200 |
commit | d5582596a9e4ff6709bd8d81b5c08d873548879a (patch) | |
tree | d085cbb47a3ae018bb987d1de65a081af37129d8 | |
parent | ad309d4eca58113160950b6120d5e59dc6e9d967 (diff) | |
download | serenity-d5582596a9e4ff6709bd8d81b5c08d873548879a.zip |
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 ™.
-rw-r--r-- | Servers/SystemServer/Service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/SystemServer/Service.cpp b/Servers/SystemServer/Service.cpp index 7c7331a80f..1f917ba1e6 100644 --- a/Servers/SystemServer/Service.cpp +++ b/Servers/SystemServer/Service.cpp @@ -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(); |