feat(Core/Config): Add parameter to load all grids of all non-instanced maps on server start (#2283)

This commit is contained in:
Stoabrogga
2019-09-30 17:06:32 +02:00
committed by GitHub
parent 439bcbda19
commit ab55aa4e5a
5 changed files with 45 additions and 16 deletions

View File

@@ -203,15 +203,6 @@ SaveRespawnTimeImmediately = 1
MaxOverspeedPings = 2
#
# GridUnload
# Description: Unload grids to save memory. Can be disabled if enough memory is available
# to speed up moving players to new grids.
# Default: 1 - (enable, Unload grids)
# 0 - (disable, Do not unload grids)
GridUnload = 1
#
# CloseIdleConnections
# Description: Automatically close idle connections.
@@ -246,13 +237,6 @@ SocketTimeOutTimeActive = 60000
SessionAddDelay = 10000
#
# GridCleanUpDelay
# Description: Time (in milliseconds) grid clean up delay.
# Default: 300000 - (5 minutes)
GridCleanUpDelay = 300000
#
# MapUpdateInterval
# Description: Time (milliseconds) for map update interval.
@@ -416,6 +400,18 @@ CleanCharacterDB = 0
PersistentCharacterCleanFlags = 0
#
# PreloadAllNonInstancedMapGrids
# Description: Preload all grids on all non-instanced maps. This will take a great amount
# of additional RAM (ca. 9 GB) and causes the server to take longer to start,
# but can increase performance if used on a server with a high amount of players.
# It will also activate all creatures which are set active (e.g. the Fel Reavers
# in Hellfire Peninsula) on server start.
# Default: 0 - (Disabled)
# 1 - (Enabled)
PreloadAllNonInstancedMapGrids = 0
#
###################################################################################################