Merge pull request #1501 from darlinghq/increase_backlog_size

Fix Simultaneously Launching Multiple Instances Of Darling
This commit is contained in:
CuriousTommy 2024-03-28 21:20:07 -07:00 committed by GitHub
commit 4a73e139f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,7 @@ void setupSocket(void)
chmod(addr.sun_path, 0600);
if (listen(g_serverSocket, 1) == -1)
if (listen(g_serverSocket, 16384) == -1)
{
perror("Listening on unix socket");
exit(EXIT_FAILURE);