Refactored and cleaned up the idmapper directory; it's been so changed by evennia that it makes little sense to keep the original structure (which was intended for adding an app into). Resolved the unittest errors with the idmapper.
This commit is contained in:
parent
1a3e0481c7
commit
68d294d007
16 changed files with 642 additions and 673 deletions
|
|
@ -576,7 +576,7 @@ class ValidateIdmapperCache(DefaultScript):
|
|||
"Called every ~5 mins"
|
||||
global _FLUSH_CACHE
|
||||
if not _FLUSH_CACHE:
|
||||
from evennia.utils.idmapper.base import conditional_flush as _FLUSH_CACHE
|
||||
from evennia.utils.idmapper.models import conditional_flush as _FLUSH_CACHE
|
||||
_FLUSH_CACHE(_IDMAPPER_CACHE_MAX_MEMORY)
|
||||
|
||||
class ValidateScripts(DefaultScript):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue