Core/Chat: Custom channel preservation rewrite. Channel data is now loaded at startup, and written to the DB periodically, instead of both things happening in real time.

Port From (https://github.com/TrinityCore/TrinityCore/commit/8839fa3fe24e72e4506e94389663b82ab2292649)
This commit is contained in:
hondacrx
2022-01-02 13:44:00 -05:00
parent 4c0eb3f2e2
commit 75d3497d38
7 changed files with 142 additions and 87 deletions
+7
View File
@@ -1908,6 +1908,13 @@ PartyLevelReq = 1
PreserveCustomChannels = 1
#
# PreserveCustomChannelInterval
# Description: Interval (in minutes) at which custom channel data is saved to the database
# Default: 5 minutes
PreserveCustomChannelInterval = 5
#
# PreserveCustomChannelDuration
# Description: Time (in days) that needs to pass before the customs chat channels get