use a smaller timeout value to avoid blocking buildslaves for 10minutes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9e91447ca4
commit
5b105c6ff3
1 changed files with 1 additions and 0 deletions
|
|
@ -336,6 +336,7 @@ extern bool IsNetworkAvailable()
|
|||
}
|
||||
|
||||
wxSocketClient sock;
|
||||
sock.SetTimeout(10); // 10 secs
|
||||
bool online = sock.Connect(addr);
|
||||
|
||||
wxSocketBase::Shutdown();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue