Merge pull request #2074 from xKylee/fixdns
DNS: Temp fix for DNS issues
This commit is contained in:
@@ -42,7 +42,7 @@ class ClientConfigLoader
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static final String CONFIG_URL = "http://oldschool.runescape.com/jav_config.ws";
|
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()
|
static Single<RSConfig> fetch()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -69,7 +69,9 @@ public class ClientLoader implements Supplier<Applet>
|
|||||||
{
|
{
|
||||||
RuneLiteSplashScreen.stage(.2, "Fetching applet viewer config");
|
RuneLiteSplashScreen.stage(.2, "Fetching applet viewer config");
|
||||||
|
|
||||||
final RSConfig config = ClientConfigLoader.fetch().blockingGet();
|
final RSConfig config = ClientConfigLoader.fetch()
|
||||||
|
.retry(50)
|
||||||
|
.blockingGet();
|
||||||
|
|
||||||
switch (updateCheckMode)
|
switch (updateCheckMode)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user