mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 14:00:08 +00:00
Remove wait between retries after polling failure
This commit is contained in:
1 parent
24fc9ac0a9
commit
c5120bec37
1 file changed
-4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user