increased some rare timeouts
This commit is contained in:
parent
1122902aa9
commit
1bbfa24430
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -211,7 +211,7 @@ public class IntegratedServerLAN {
|
||||||
Thread.sleep(20l);
|
Thread.sleep(20l);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
}while(System.currentTimeMillis() - millis < 3000l);
|
}while(System.currentTimeMillis() - millis < 5000l);
|
||||||
System.err.println("Getting server ICE candidates for '" + clientId + "' timed out!");
|
System.err.println("Getting server ICE candidates for '" + clientId + "' timed out!");
|
||||||
disconnect();
|
disconnect();
|
||||||
}else {
|
}else {
|
||||||
|
@ -242,7 +242,7 @@ public class IntegratedServerLAN {
|
||||||
Thread.sleep(20l);
|
Thread.sleep(20l);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
}while(System.currentTimeMillis() - millis < 3000l);
|
}while(System.currentTimeMillis() - millis < 5000l);
|
||||||
System.err.println("Getting server description for '" + clientId + "' timed out!");
|
System.err.println("Getting server description for '" + clientId + "' timed out!");
|
||||||
disconnect();
|
disconnect();
|
||||||
}else {
|
}else {
|
||||||
|
@ -276,7 +276,7 @@ public class IntegratedServerLAN {
|
||||||
Thread.sleep(20l);
|
Thread.sleep(20l);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
}while(System.currentTimeMillis() - millis < 3000l);
|
}while(System.currentTimeMillis() - millis < 5000l);
|
||||||
System.err.println("Getting server description for '" + clientId + "' timed out!");
|
System.err.println("Getting server description for '" + clientId + "' timed out!");
|
||||||
disconnect();
|
disconnect();
|
||||||
}else {
|
}else {
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class LANClientNetworkManager implements INetworkManager {
|
||||||
Thread.sleep(20l);
|
Thread.sleep(20l);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
}while(System.currentTimeMillis() - lm < 3000l);
|
}while(System.currentTimeMillis() - lm < 5000l);
|
||||||
|
|
||||||
// no description was sent
|
// no description was sent
|
||||||
sock.close();
|
sock.close();
|
||||||
|
@ -134,7 +134,7 @@ public class LANClientNetworkManager implements INetworkManager {
|
||||||
Thread.sleep(20l);
|
Thread.sleep(20l);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
}while(System.currentTimeMillis() - lm < 3000l);
|
}while(System.currentTimeMillis() - lm < 5000l);
|
||||||
|
|
||||||
// no channel was opened
|
// no channel was opened
|
||||||
sock.writePacket(new IPacket06ClientFailure(ipkt.peerId));
|
sock.writePacket(new IPacket06ClientFailure(ipkt.peerId));
|
||||||
|
@ -176,7 +176,7 @@ public class LANClientNetworkManager implements INetworkManager {
|
||||||
Thread.sleep(20l);
|
Thread.sleep(20l);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
}while(System.currentTimeMillis() - lm < 3000l);
|
}while(System.currentTimeMillis() - lm < 5000l);
|
||||||
|
|
||||||
// no ice candidates were sent
|
// no ice candidates were sent
|
||||||
sock.close();
|
sock.close();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user