prop/lib/microwaveprop_web
Graham McIntire 16883591b4
Database performance fixes and async backfill enqueue
- Fix score_pressure crash on nil pressure_mb (coastal HRRR points)
- Set 10-min timeout on grid score upsert transaction (was :infinity)
- Single DELETE for prune_old_scores instead of N queries in a loop
- Remove dead load_hrrr_refractivity that loaded 95k rows into nil map
- Pass selected_time to point_detail to skip latest_valid_time sub-query
- Batch station existence checks (1 query per path point, not per station)
- Batch solar index upserts via insert_all in chunks of 500
- Batch backfill_distances via single UPDATE FROM VALUES statement
- Add is_grid_point boolean + partial index to hrrr_profiles (replaces
  non-sargable modular arithmetic filter on every weather map query)
- Add partial index on contacts(qso_timestamp) WHERE pos1 IS NOT NULL
- Move backfill enqueue to Oban worker so UI returns immediately
2026-04-04 19:19:18 -05:00
..
components Add contact detail map, elevation profile chart, and UI improvements 2026-04-01 12:34:03 -05:00
controllers Add /health endpoint and CHECKS file for zero-downtime deploys 2026-04-02 13:01:42 -05:00
live Database performance fixes and async backfill enqueue 2026-04-04 19:19:18 -05:00
plugs fix enrichment 2026-04-02 15:30:41 -05:00
endpoint.ex Add tidewave dev tool, taller elevation profile chart 2026-04-01 13:41:39 -05:00
gettext.ex initial 2026-03-28 11:28:47 -05:00
router.ex Restrict enrichment enqueue to T-Mobile CGNAT subnet (172.56.0.0/13) 2026-04-04 18:55:42 -05:00
telemetry.ex initial 2026-03-28 11:28:47 -05:00