Remove wait between retries after polling failure

This commit is contained in:
Cameron Gutman
2018-11-16 19:14:00 -08:00
parent 24fc9ac0a9
commit c5120bec37

View File

@@ -115,10 +115,6 @@ static const float POLL_RATE = 2.0f; // Poll every 2 seconds
Log(LOG_D, @"Received serverinfo response on try %d", i);
break;
}
else {
// Wait for one second then retry
[NSThread sleepForTimeInterval:1];
}
}
_host.online = receivedResponse;