diff --git a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java index cbc27e5..8052d0a 100644 --- a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java +++ b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java @@ -463,7 +463,7 @@ public final class RedisBungee extends Plugin { FutureTask task2 = new FutureTask<>(new Callable() { @Override public Void call() throws Exception { - service = Executors.newFixedThreadPool(16); + service = Executors.newCachedThreadPool(); httpClient = new OkHttpClient(); Dispatcher dispatcher = new Dispatcher(service); httpClient.setDispatcher(dispatcher);