use delay() instead of apply_async()
This commit is contained in:
parent
64648d5d4f
commit
aa7ffab45c
1 changed files with 1 additions and 1 deletions
|
@ -115,4 +115,4 @@ class MapUpdate(models.Model):
|
|||
cache.set('mapdata:last_update', self.to_tuple, 900)
|
||||
|
||||
if new and settings.HAS_CELERY:
|
||||
process_map_updates.apply_async()
|
||||
process_map_updates.delay()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue