*Write update time diff into log to display server performance.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-30 18:03:26 -06:00
parent 8592e5606b
commit d088021a50
4 changed files with 37 additions and 1 deletions
+10 -1
View File
@@ -1251,12 +1251,20 @@ Ra.Secure = 1
# example: "538,90"
# Note that it's HIGHLY DISCOURAGED to forbid starting maps (0, 1, 530)!
#
# ShowKickInWorld
# ShowKickInWorld
# determines wether a message is broadcasted to the entire server when a player gets kicked
# Default: 0
# 1 = Enable
# 0 = Disable
#
# RecordUpdateTimeDiffInterval
# record update time diff to the log file
# update diff can be used as a criterion of performance
# diff < 300: good performance
# diff > 600: bad performance, may be caused by high cpu usage
# Default: 60000 (diff is written into log every 60000 ms or 1 minute.
# >0 = Interval
# 0 = Disable
###################################################################################################################
PlayerStart.AllReputation = 0
@@ -1271,3 +1279,4 @@ PvPToken.ItemID = 29434
PvPToken.ItemCount = 1
NoResetTalentsCost = 0
ShowKickInWorld = 0
RecordUpdateTimeDiffInterval = 60000