Use ThreadPool with login server.

This commit is contained in:
MobiusDevelopment
2022-11-07 22:41:24 +00:00
parent 43f1707098
commit 14cb1e0cff
120 changed files with 1830 additions and 240 deletions

View File

@@ -67,11 +67,33 @@ MySqlBinLocation = C:/xampp/mysql/bin/
BackupPath = ../backup/
# Maximum number of days that backups will be kept.
# Old backups will be deleted.
# Old files in backup folder will be deleted.
# Set to 0 to disable.
BackupDays = 30
# ---------------------------------------------------------------------------
# Thread Configuration
# ---------------------------------------------------------------------------
# Determines the amount of scheduled thread pools. If set to -1, the server will decide the amount depending on the available processors.
ScheduledThreadPoolCount = 2
# Specifies how many threads will be in a single scheduled pool.
ThreadsPerScheduledThreadPool = 2
# Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors.
InstantThreadPoolCount = 2
# Specifies how many threads will be in a single instant pool.
ThreadsPerInstantThreadPool = 4
# Use threads to run client packets individually.
# Less lag when using threads, but more CPU consumption.
# Default: True
ThreadsForClientPackets = True
# ---------------------------------------------------------------------------
# Security
# ---------------------------------------------------------------------------