use correct cache key key … or else processupdates won't work
This commit is contained in:
parent
1aaeaef386
commit
1f1a0711c6
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ class MapUpdate(models.Model):
|
||||||
LevelRenderData.rebuild(geometry_update_cache_key)
|
LevelRenderData.rebuild(geometry_update_cache_key)
|
||||||
|
|
||||||
transaction.on_commit(
|
transaction.on_commit(
|
||||||
lambda: cache.set('mapdata:last_processed_geometries_update', last_geometry_update.to_tuple, None)
|
lambda: cache.set('mapdata:last_processed_geometry_update', last_geometry_update.to_tuple, None)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
logger.info('No geometries affected.')
|
logger.info('No geometries affected.')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue