Skip to content

Commit dc93256

Browse files
Reduce the rate at which XmlRpcServer flails against failed accepts of pending clients (a rare case, but pops up in VERY busy ROS.NET apps).
1 parent c40ca11 commit dc93256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XmlRpc_Wrapper/XmlRpcServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private void acceptConnection()
160160
catch (SocketException ex)
161161
{
162162
XmlRpcUtil.error("XmlRpcServer::acceptConnection: Could not accept connection ({0}).", ex.Message);
163-
Thread.Sleep(0);
163+
Thread.Sleep(10);
164164
}
165165
}
166166
}

0 commit comments

Comments
 (0)