remove race condition where c3nav tried to load a wrong router
This commit is contained in:
parent
20402b364d
commit
e2698e7109
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class MapUpdate(models.Model):
|
|||
from c3nav.routing.locator import Locator
|
||||
Locator.rebuild(new_updates[-1].to_tuple)
|
||||
|
||||
for new_update in new_updates:
|
||||
for new_update in reversed(new_updates):
|
||||
new_update.processed = True
|
||||
new_update.save()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue