Decrease connecting timeout.

This commit is contained in:
Johannes Mockenhaupt 2017-11-11 16:04:45 +01:00
parent 0a1b8f5b14
commit 5e6b014ef4
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -408,7 +408,7 @@ public class RuffyScripter implements RuffyCommands {
boolean connectInitSuccessful = ruffyService.doRTConnect() == 0;
log.debug("Connect init successful: " + connectInitSuccessful);
log.debug("Waiting for first menu update to be sent");
long timeoutExpired = System.currentTimeMillis() + 90 * 1000;
long timeoutExpired = System.currentTimeMillis() + 30 * 1000;
long initialUpdateTime = menuLastUpdated;
while (initialUpdateTime == menuLastUpdated) {
if (System.currentTimeMillis() > timeoutExpired) {