ThreadPool settings moved to server configs.

This commit is contained in:
MobiusDev
2017-08-23 05:40:47 +00:00
parent 5f8a5da5b3
commit cfe3ee3b6f
12 changed files with 196 additions and 188 deletions

View File

@@ -128,45 +128,6 @@ SkillCheckRemove = True
SkillCheckGM = False
# ---------------------------------------------------------------------------
# Thread Configuration
# ---------------------------------------------------------------------------
# Determines the amount of scheduled thread pools. If set to -1, the server will decide the amount depending on the available processors.
Default: -1
ScheduledThreadPoolCount = -1
# Specifies how many threads will be in a single scheduled pool.
Default: 4
ThreadsPerScheduledThreadPool = 40
# Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors.
Default: -1
InstantThreadPoolCount = -1
# Specifies how many threads will be in a single instant pool.
Default: 2
ThreadsPerInstantThreadPool = 20
# Default: 2
UrgentPacketThreadCoreSize = 20
# ---------------------------------------------------------------------------
# Dead Lock Detector (separate thread for detecting deadlocks)
# ---------------------------------------------------------------------------
# For improved crash logs and automatic restart in deadlock case if enabled.
# Check interval is in seconds.
# Default: True
DeadLockDetector = True
# Default: 20
DeadLockCheckInterval = 20
# Default: False
RestartOnDeadlock = False
# ---------------------------------------------------------------------------
# Optimization
# ---------------------------------------------------------------------------

View File

@@ -109,6 +109,45 @@ ServerListAge = 0
ServerListBrackets = False
# ---------------------------------------------------------------------------
# Thread Configuration
# ---------------------------------------------------------------------------
# Determines the amount of scheduled thread pools. If set to -1, the server will decide the amount depending on the available processors.
Default: -1
ScheduledThreadPoolCount = -1
# Specifies how many threads will be in a single scheduled pool.
Default: 4
ThreadsPerScheduledThreadPool = 40
# Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors.
Default: -1
InstantThreadPoolCount = -1
# Specifies how many threads will be in a single instant pool.
Default: 2
ThreadsPerInstantThreadPool = 20
# Default: 2
UrgentPacketThreadCoreSize = 20
# ---------------------------------------------------------------------------
# Dead Lock Detector (separate thread for detecting deadlocks)
# ---------------------------------------------------------------------------
# For improved crash logs and automatic restart in deadlock case if enabled.
# Check interval is in seconds.
# Default: True
DeadLockDetector = True
# Default: 20
DeadLockCheckInterval = 20
# Default: False
RestartOnDeadlock = False
# ---------------------------------------------------------------------------
# Player HWID settings (DO NOT USE)
# ---------------------------------------------------------------------------