mirror of
https://github.com/darlinghq/darling.git
synced 2025-02-17 08:09:10 +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);
|
chmod(addr.sun_path, 0600);
|
||||||
|
|
||||||
if (listen(g_serverSocket, 1) == -1)
|
if (listen(g_serverSocket, 16384) == -1)
|
||||||
{
|
{
|
||||||
perror("Listening on unix socket");
|
perror("Listening on unix socket");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user