amazing cache #55

Merged
kscheidecker merged 22 commits from backend/grid-based-cache into main 2025-01-30 12:40:36 +00:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit 757773f433 - Show all commits

File diff suppressed because one or more lines are too long

View File

@ -136,7 +136,7 @@ def new_trip(preferences: Preferences,
trip = Trip.from_linked_landmarks(linked_tour, cache_client)
logger.info(f'Generated a trip of {trip.total_time} minutes with {len(refined_tour)} landmarks in {round(t_generate_landmarks + t_first_stage + t_second_stage,3)} seconds.')
background_tasks.add(fill_cache())
background_tasks.add_task(fill_cache)
return trip