Skip to content

Commit

Permalink
Fix Simultaneously Launching Multiple Instances Of Darling
Browse files Browse the repository at this point in the history
Increase the backlog value from 1 to 16384. Fixes #1499

Co-Authored-By: tihmstar <[email protected]>
  • Loading branch information
CuriousTommy and tihmstar committed Mar 28, 2024
1 parent 25afbc7 commit 9fb515c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shellspawn/shellspawn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9fb515c

Please sign in to comment.