process updates asynchronously
This commit is contained in:
parent
5d34790876
commit
ea22c7a927
4 changed files with 102 additions and 13 deletions
|
@ -292,7 +292,7 @@ class LevelRenderData:
|
|||
@classmethod
|
||||
def get(cls, level):
|
||||
with cls.cache_lock:
|
||||
cache_key = MapUpdate.current_cache_key()
|
||||
cache_key = MapUpdate.current_processed_cache_key()
|
||||
level_pk = str(level.pk if isinstance(level, Level) else level)
|
||||
if cls.cache_key != cache_key:
|
||||
cls.cache_key = cache_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue