@samitouri / QOSAMI-WSL / commits / 66da35b8

Add timeout to create process accepts (#41252)

Feng Wang committed Aug 6, 2026 at 11:11 UTC 66da35b80e6a8fa2ccec29c3918cf94b3aa9a1e1
1 file changed +1 -1
src/linux/init/init.cpp
+1 -1
@@ -1478,7 +1478,7 @@ Return Value:
1478
1479 for (auto& Socket : Sockets)
1480 {
1481 - Socket.reset(UtilAcceptVsock(ListenSocket, SocketAddress));
1481 + Socket.reset(UtilAcceptVsock(ListenSocket, SocketAddress, SESSION_LEADER_ACCEPT_TIMEOUT_MS));
1482 if (Socket.get() < 0)
1483 {
1484 Result = -1;