Added the ability to deactivate local caching, by use of the settings.GAME_CACHE_TYPE variable. A temporary solution for working with multiple processes. Will also be useful for debugging and profiling.

This commit is contained in:
Griatch 2013-01-09 19:43:46 +01:00
parent 15feb915e6
commit ea545d7ff3
4 changed files with 218 additions and 157 deletions

View file

@ -325,6 +325,9 @@ 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