Increase connection timeout to 90s.

This commit is contained in:
Johannes Mockenhaupt 2017-11-19 21:24:10 +01:00
parent 9d3625e78c
commit 3070cba612
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -436,7 +436,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() + 30 * 1000;
long timeoutExpired = System.currentTimeMillis() + 90 * 1000;
long initialUpdateTime = menuLastUpdated;
while (initialUpdateTime == menuLastUpdated) {
if (System.currentTimeMillis() > timeoutExpired) {