mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 20:28:00 +00:00
parent
436949b8d8
commit
f6412b7517
@ -31,6 +31,7 @@ import java.util.*;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.FutureTask;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.logging.Level;
|
||||
@ -235,6 +236,7 @@ public final class RedisBungee extends Plugin {
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
((ThreadPoolExecutor) getExecutorService()).setMaximumPoolSize(32);
|
||||
try {
|
||||
loadConfig();
|
||||
} catch (IOException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user