diff options
| author | megamage <none@none> | 2009-08-24 19:23:31 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-24 19:23:31 -0500 |
| commit | 6e8009446dd364fada37152e347216a4c1718dd9 (patch) | |
| tree | 5cce0b97bc86f3687048c1758896f97545920c79 /src/trinitycore | |
| parent | ab8b1d803905d5ac6b9f16bbc810cf9a7e179a27 (diff) | |
[8402] Optimalized guild_eventlog and guild_bank_eventlog loading from database.
Added config options to set count of eventlog records stored in DB.
Attached SQL files will DROP existing and create new tables. Make sure you create backup (if you need old data).
Renamed few variables in Guild class.
Signed-off-by: Triply <triply@getmangos.com>
*Note: existing guild bank log will be removed.
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore')
| -rw-r--r-- | src/trinitycore/trinitycore.conf.dist | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist index bd39a70f6ef..fcf34b97b01 100644 --- a/src/trinitycore/trinitycore.conf.dist +++ b/src/trinitycore/trinitycore.conf.dist @@ -685,6 +685,18 @@ ChatLogTimestamp = 0 # Default: 7 # -1 (show all available quests marks) # +# Guild.EventLogRecordsCount +# Count of guild event log records stored in guild_eventlog table +# Increase to store more guild events in table, minimum is 100 +# You can set it to very high value to prevent oldest guild events to be rewritten by latest guild events - but it can slow down performance +# Default: 100 +# +# Guild.BankEventLogRecordsCount +# Count of guild_bank event log records stored in guild_bank_eventlog table +# Increase to store more guild_bank events in table - minimum is 25 (GUILD_BANK_MAX_LOGS) for each guild_bank tab +# Useful when you don't want old log events to be overwritten by new, but increasing can slow down performance +# Default: 25 +# # MaxPrimaryTradeSkill # Max count that player can learn the primary trade skill. # Default: 2 @@ -779,6 +791,8 @@ Instance.ResetTimeHour = 4 Instance.UnloadDelay = 1800000 Quests.LowLevelHideDiff = 4 Quests.HighLevelHideDiff = 7 +Guild.EventLogRecordsCount = 100 +Guild.BankEventLogRecordsCount = 25 MaxPrimaryTradeSkill = 2 MinPetitionSigns = 9 MaxGroupXPDistance = 74 |
