Skip to content

Commit

Permalink
add map cache
Browse files Browse the repository at this point in the history
  • Loading branch information
borisaraujo committed Feb 2, 2024
1 parent c5b59a8 commit 086c7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@app.on_after_configure.connect
def setup_periodic_tasks(sender, **kwargs):
sender.add_periodic_task(60.0, main.s(), name='Update data every minute')
sender.add_periodic_task(60.0, main.s(), name='Update every minute')
sender.add_periodic_task(60.0, cache_mapa.s(), name='Update map every minute')

# V1: loading shapes in every update was very slow
# New shapes should be parsed beforehand to geojson format with
Expand Down

0 comments on commit 086c7a2

Please sign in to comment.