2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-07 15:40:26 +00:00

add test for UUIDFetcher

This commit is contained in:
vemacs
2015-02-10 08:04:03 -07:00
parent a80c3b51e1
commit 06c3935c39
3 changed files with 38 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ import com.google.common.io.ByteStreams;
import com.google.gson.Gson;
import com.imaginarycode.minecraft.redisbungee.events.PubSubMessageEvent;
import com.imaginarycode.minecraft.redisbungee.util.NameFetcher;
import com.imaginarycode.minecraft.redisbungee.util.UUIDFetcher;
import com.imaginarycode.minecraft.redisbungee.util.UUIDTranslator;
import com.squareup.okhttp.OkHttpClient;
import lombok.Getter;
@@ -434,6 +435,7 @@ public final class RedisBungee extends Plugin {
service = Executors.newFixedThreadPool(16);
httpClient = new OkHttpClient();
NameFetcher.setHttpClient(httpClient);
UUIDFetcher.setHttpClient(httpClient);
return null;
}
});