Prod logs showed road_proximity took 186 s on a single Calculate. Req's receive_timeout only catches TCP idle, not slow streaming, so a trickling Overpass response could not be cancelled. Wrap the call in a Task.yield/shutdown deadline and cache successful results by 0.05°-rounded bbox so adjacent Calculates skip Overpass entirely. |
||
|---|---|---|
| .. | ||
| aggregator.ex | ||
| candidate_detail.ex | ||
| compute.ex | ||
| drive_time.ex | ||
| elevation.ex | ||
| fixed_station.ex | ||
| hilltop.ex | ||
| link_margin.ex | ||
| path_terrain.ex | ||
| prominence.ex | ||
| road_proximity.ex | ||