Load PPM data proactively
marcoow opened this issue · comments
I think we should load a location's ppm data whenever that location is returned for a location search (either by lat/lon or by name). We can simply kick that off in a task and if that task finished before the request for the location data comes in that's good - if not than we simply load the data synchronously.
@niklaslong: I think this will be closed by #57?
Not entirely, in #57 we're only doing it for get_location(location_id)
. We still need to do it in search_location(lat, lon | search_term)