Update Server+ServerGroup cache more frequently

This commit is contained in:
Colin McDonald 2016-08-01 16:21:17 -04:00
parent 3dad944ca3
commit d9d87872cb
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public final class Server {
}
static {
APIv3.getVertxInstance().setPeriodic(TimeUnit.MINUTES.toMillis(1), (id) -> updateCache());
APIv3.getVertxInstance().setPeriodic(TimeUnit.SECONDS.toMillis(15), (id) -> updateCache());
APIv3.getVertxInstance().setPeriodic(TimeUnit.MINUTES.toMillis(1), (id) -> updateTimedOutServers());
}

View File

@ -45,7 +45,7 @@ public final class ServerGroup {
}
static {
APIv3.getVertxInstance().setPeriodic(TimeUnit.MINUTES.toMillis(1), (id) -> updateCache());
APIv3.getVertxInstance().setPeriodic(TimeUnit.SECONDS.toMillis(15), (id) -> updateCache());
}
public static void updateCache() {