fill last update caches before starting processupdates
This commit is contained in:
parent
fc5a339a65
commit
4d527130e7
1 changed files with 4 additions and 0 deletions
|
@ -192,6 +192,10 @@ class MapUpdate(models.Model):
|
||||||
def process_updates(cls):
|
def process_updates(cls):
|
||||||
logger = logging.getLogger('c3nav')
|
logger = logging.getLogger('c3nav')
|
||||||
|
|
||||||
|
cls.last_update()
|
||||||
|
cls.last_processed_update()
|
||||||
|
cls.last_processed_geometry_update()
|
||||||
|
|
||||||
with cls.get_updates_to_process() as new_updates:
|
with cls.get_updates_to_process() as new_updates:
|
||||||
prev_keys = (
|
prev_keys = (
|
||||||
cls.current_processed_cache_key(),
|
cls.current_processed_cache_key(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue