ThreadPool revert and path change.

This commit is contained in:
MobiusDevelopment
2021-10-27 00:58:25 +00:00
parent 4e9f507f33
commit a0ee3599f5
3743 changed files with 11356 additions and 9800 deletions

View File

@@ -118,16 +118,20 @@ ServerListClock = False
# Thread Configuration
# ---------------------------------------------------------------------------
# Specifies how many threads will be in the scheduled pool.
# Default: 160
ScheduledThreadPoolCount = 160
# Determines the amount of scheduled thread pools. If set to -1, the server will decide the amount depending on the available processors.
ScheduledThreadPoolCount = -1
# Specifies how many threads will be in the single instant pool.
# Default: 120
InstantThreadPoolCount = 120
# Specifies how many threads will be in a single scheduled pool.
ThreadsPerScheduledThreadPool = 4
# Default: 40
UrgentPacketThreadCoreSize = 40
# Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors.
InstantThreadPoolCount = -1
# Specifies how many threads will be in a single instant pool.
ThreadsPerInstantThreadPool = 2
# Urgent packet thread core size.
UrgentPacketThreadCoreSize = -1
# ---------------------------------------------------------------------------

View File

@@ -23,7 +23,7 @@ import java.util.concurrent.ScheduledFuture;
import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.commons.concurrent.ThreadPool;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.commons.util.Chronos;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.ai.CtrlIntention;

View File

@@ -26,7 +26,7 @@ import java.util.concurrent.CopyOnWriteArrayList;
import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.commons.concurrent.ThreadPool;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.commons.util.Chronos;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.data.SkillTable;

View File

@@ -16,7 +16,7 @@
*/
package ai.bosses;
import org.l2jmobius.commons.concurrent.ThreadPool;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.data.sql.SpawnTable;
import org.l2jmobius.gameserver.model.Location;

View File

@@ -21,7 +21,7 @@ import java.util.Collection;
import java.util.List;
import org.l2jmobius.Config;
import org.l2jmobius.commons.concurrent.ThreadPool;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.commons.util.Chronos;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.ai.CtrlIntention;

View File

@@ -29,8 +29,8 @@ import java.util.concurrent.ScheduledFuture;
import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.commons.concurrent.ThreadPool;
import org.l2jmobius.commons.database.DatabaseFactory;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.commons.util.Chronos;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.ai.CtrlIntention;

View File

@@ -19,7 +19,7 @@ package ai.bosses;
import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.commons.concurrent.ThreadPool;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.commons.util.Chronos;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.ai.CtrlIntention;