Increase connection timeout to 90s.
This commit is contained in:
parent
9d3625e78c
commit
3070cba612
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ public class RuffyScripter implements RuffyCommands {
|
||||||
boolean connectInitSuccessful = ruffyService.doRTConnect() == 0;
|
boolean connectInitSuccessful = ruffyService.doRTConnect() == 0;
|
||||||
log.debug("Connect init successful: " + connectInitSuccessful);
|
log.debug("Connect init successful: " + connectInitSuccessful);
|
||||||
log.debug("Waiting for first menu update to be sent");
|
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;
|
long initialUpdateTime = menuLastUpdated;
|
||||||
while (initialUpdateTime == menuLastUpdated) {
|
while (initialUpdateTime == menuLastUpdated) {
|
||||||
if (System.currentTimeMillis() > timeoutExpired) {
|
if (System.currentTimeMillis() > timeoutExpired) {
|
||||||
|
|
Loading…
Reference in a new issue