aprs.me/lib
Graham McIntire 69152e86b3
refactor: split PacketProducer.handle_cast into pattern-matched heads
The original handle_cast had nested `if`s: outer branch on demand > 0,
inner branch on buffer-over-capacity. Split into:

- handle_cast with a `when demand > 0` guard for the hot path that
  skips the buffer entirely.
- A fallback clause that computes whether the new size would overflow
  and delegates to buffer_packet/3.
- buffer_packet/3 has two clauses — one for the drop-oldest path
  (with telemetry + warning) and one for the simple append path. Both
  share the final `maybe_activate_backpressure |> reply_noemit` step.

All 19 existing PacketProducer tests pass; dialyzer stays clean.
2026-04-23 14:26:23 -05:00
..
aprsme refactor: split PacketProducer.handle_cast into pattern-matched heads 2026-04-23 14:26:23 -05:00
aprsme_web refactor: pattern-match InfoLive.Show path parsing + add tests 2026-04-23 14:23:16 -05:00
mix/tasks Disable APRS-IS connection when running mix tasks 2026-02-18 14:52:24 -06:00
aprs_web.ex upgrade more with modern phoenix 2025-07-05 08:04:06 -05:00
aprsme.ex refactor to use external parser 2025-06-24 14:22:09 -05:00