among
This commit is contained in:
@@ -17,7 +17,7 @@ import java.util.concurrent.ScheduledExecutorService;
|
||||
public class Main {
|
||||
public static final List<Bot> bots = new ArrayList<>();
|
||||
|
||||
public static final ScheduledExecutorService executor = Executors.newScheduledThreadPool(50);
|
||||
public static final ScheduledExecutorService executor = Executors.newScheduledThreadPool(Runtime.getRuntime().availableProcessors());
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
final File file = new File("config.yml");
|
||||
|
||||
Reference in New Issue
Block a user