mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-02-17 03:02:35 +01:00
Merge branch 'dev' into 'dev'
Consistency... See merge request morningstar/Arcturus-Community!438
This commit is contained in:
commit
be3207eca0
@ -170,7 +170,7 @@ public final class Emulator {
|
|||||||
Emulator.timeStarted = getIntUnixTimestamp();
|
Emulator.timeStarted = getIntUnixTimestamp();
|
||||||
|
|
||||||
if (Emulator.getConfig().getInt("runtime.threads") < (Runtime.getRuntime().availableProcessors() * 2)) {
|
if (Emulator.getConfig().getInt("runtime.threads") < (Runtime.getRuntime().availableProcessors() * 2)) {
|
||||||
LOGGER.warn("Emulator settings runtime.threads ({}) can be increased to {} to possibly increase performance.",
|
LOGGER.warn("Emulator settings runtime.threads ({}) can be increased to ({}) to possibly increase performance.",
|
||||||
Emulator.getConfig().getInt("runtime.threads"),
|
Emulator.getConfig().getInt("runtime.threads"),
|
||||||
Runtime.getRuntime().availableProcessors() * 2);
|
Runtime.getRuntime().availableProcessors() * 2);
|
||||||
}
|
}
|
||||||
@ -499,4 +499,4 @@ public final class Emulator {
|
|||||||
public int getRoomCount() {
|
public int getRoomCount() {
|
||||||
return gameEnvironment.getRoomManager().getActiveRooms().size();
|
return gameEnvironment.getRoomManager().getActiveRooms().size();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user