mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 10:37:16 +01:00
Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage.
This commit is contained in:
parent
a143733ccf
commit
f2c75bd0f6
8 changed files with 145 additions and 33 deletions
|
|
@ -161,7 +161,10 @@ def create_system_scripts():
|
|||
script2 = create.create_script(scripts.ValidateScripts)
|
||||
# update the channel handler to make sure it's in sync
|
||||
script3 = create.create_script(scripts.ValidateChannelHandler)
|
||||
if not script1 or not script2 or not script3:
|
||||
# flush the idmapper cache
|
||||
script4 = create.create_script(scripts.ValidateIdmapperCache)
|
||||
|
||||
if not script1 or not script2 or not script3 or not script4:
|
||||
print " Error creating system scripts."
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -379,9 +379,6 @@ EVENNIA = Evennia(application)
|
|||
print '-' * 50
|
||||
print ' %(servername)s Server (%(version)s) started.' % {'servername': SERVERNAME, 'version': VERSION}
|
||||
|
||||
if not settings.GAME_CACHE_TYPE:
|
||||
print " caching disabled"
|
||||
|
||||
if AMP_ENABLED:
|
||||
|
||||
# The AMP protocol handles the communication between
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue