Merge pull request #2074 from xKylee/fixdns

DNS: Temp fix for DNS issues
This commit is contained in:
Tyler Bochard
2019-11-24 16:30:35 -05:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ class ClientConfigLoader
}
private static final String CONFIG_URL = "http://oldschool.runescape.com/jav_config.ws";
private static final int MAX_ATTEMPTS = 16;
private static final int MAX_ATTEMPTS = 100;
static Single<RSConfig> fetch()
{

View File

@@ -69,7 +69,9 @@ public class ClientLoader implements Supplier<Applet>
{
RuneLiteSplashScreen.stage(.2, "Fetching applet viewer config");
final RSConfig config = ClientConfigLoader.fetch().blockingGet();
final RSConfig config = ClientConfigLoader.fetch()
.retry(50)
.blockingGet();
switch (updateCheckMode)
{