fix terrible error where last_processed_update is not updated in the cache
This commit is contained in:
parent
c890ae6bbf
commit
80dbaf232e
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class MapUpdate(models.Model):
|
||||||
LevelRenderData.rebuild()
|
LevelRenderData.rebuild()
|
||||||
|
|
||||||
transaction.on_commit(
|
transaction.on_commit(
|
||||||
lambda: cache.set('mapdachanged_geometriesta:last_processed_update', new_updates[-1].to_tuple, 900)
|
lambda: cache.set('mapdata:last_processed_update', new_updates[-1].to_tuple, 900)
|
||||||
)
|
)
|
||||||
|
|
||||||
return new_updates
|
return new_updates
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue