mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 12:19:43 +00:00
Fix Simultaneously Launching Multiple Instances Of Darling
Increase the backlog value from 1 to 16384. Fixes #1499 Co-Authored-By: tihmstar <tihmstar@gmail.com>
This commit is contained in:
parent
25afbc7642
commit
9fb515c774
@ -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