forked from expo/troggle
Cache enabled for 'expedition' pages
This commit is contained in:
@@ -32,7 +32,11 @@ There are more subclasses define in models_caves.py models_survex.py etc.
|
||||
# This variable is a dictionary holding gloablly visible indexes and cache functions.
|
||||
# It is a Global Object, see https://python-patterns.guide/python/module-globals/
|
||||
# troggle.models.TROG
|
||||
TROG = {}
|
||||
TROG = {
|
||||
'pagecache' : {
|
||||
'expedition' : {}
|
||||
}
|
||||
}
|
||||
|
||||
def get_process_memory():
|
||||
usage=resource.getrusage(resource.RUSAGE_SELF)
|
||||
|
||||
Reference in New Issue
Block a user