diff options
| author | XTZGZoReX <none@none> | 2009-03-25 15:21:32 +0100 |
|---|---|---|
| committer | XTZGZoReX <none@none> | 2009-03-25 15:21:32 +0100 |
| commit | 942e93fbcb614266365470c95af0fd62fbf5ec41 (patch) | |
| tree | 34237ad65bea03dccfec755f71d587658c8ee2e1 /src/trinitycore | |
| parent | 82e966e5f2862f30e1a661c4fe2e09f5525c4a96 (diff) | |
* Implemented WUPDATE_CLEANDB timer to clean `logs` table of old entries.
* New config option: LogDB.Opt.ClearInterval - time in minutes between each call to cleanup.
* New config option: LogDB.Opt.ClearTime - maximum time in seconds to keep old log entries.
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore')
| -rw-r--r-- | src/trinitycore/trinitycore.conf.dist | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist index 94af98eac2a..dd09409d7a6 100644 --- a/src/trinitycore/trinitycore.conf.dist +++ b/src/trinitycore/trinitycore.conf.dist @@ -163,6 +163,15 @@ EAIErrorLevel = 2 # Update realm uptime period in minutes (for save data in 'uptime' table). Must be > 0 # Default: 10 (minutes) # +# LogDB.Opt.ClearInterval +# Time for the WUPDATE_CLEANDB timer that clears the `logs` table of old entries. Must be > 0. +# Default: 10 (minutes) +# +# LogDB.Opt.ClearTime +# The maximum time in seconds of old `logs` table entries to keep. +# Default: 1209600 (14 days) +# 0 - don't clear +# # MaxCoreStuckTime # Periodically check if the process got freezed, if this is the case force crash after the specified # amount of seconds. Must be > 0. Recommended > 10 secs if you use this. @@ -195,6 +204,8 @@ vmap.ignoreSpellIds = "7720" DetectPosCollision = 1 TargetPosRecalculateRange = 1.5 UpdateUptimeInterval = 10 +LogDB.Opt.ClearInterval = 10 +LogDB.Opt.ClearTime = 1209600 MaxCoreStuckTime = 0 AddonChannel = 1 |
