mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 04:09:43 +00:00
Merge pull request #1501 from darlinghq/increase_backlog_size
Fix Simultaneously Launching Multiple Instances Of Darling
This commit is contained in:
commit
4a73e139f7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user