forked from ChomeNS/chomens-bot-java
among
This commit is contained in:
parent
b9dce506dd
commit
4631ef5a8b
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue