mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
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:
parent
ad309d4eca
commit
d5582596a9
Notes:
sideshowbarker
2024-07-19 07:02:41 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/d5582596a9e Pull-request: https://github.com/SerenityOS/serenity/pull/2062
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue