fixed background tasks ?
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 1m40s
Run linting on the backend code / Build (pull_request) Successful in 28s
Run testing on the backend code / Build (pull_request) Failing after 7m26s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 24s

This commit is contained in:
Helldragon67 2025-01-28 12:38:02 +01:00
parent f2943eb3ad
commit b527318eec
2 changed files with 9 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -135,7 +135,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.')
BackgroundTasks(fill_cache())
background_tasks = BackgroundTasks(fill_cache())
return trip