aprs.me/lib/aprsme/is
Graham McIntire 48943cdc52
refactor: Is.get_status pattern-matches on process presence
The original get_status/0 had a nested case/try that duplicated the
"disconnected" status map across two branches. Split into:

- status_from/1 with nil + is_pid heads for the "no GenServer" and
  "GenServer alive" paths. The alive path isolates the catch :exit, _
  fallback for a non-responding process.
- disconnected_status/1 builds the shared status map once, parameterised
  on the default server string to preserve the original branch-specific
  fallback behavior.

Removes ~20 duplicated lines; all 61 Is tests still pass.
2026-04-23 14:57:38 -05:00
..
is.ex refactor: Is.get_status pattern-matches on process presence 2026-04-23 14:57:38 -05:00
is_supervisor.ex fix: performance improvements and bug fixes across backend and frontend 2026-03-19 12:41:36 -05:00
login_params.ex refactor: promote hot-path GenServer state maps to structs 2026-04-21 10:26:20 -05:00
packet_stats.ex refactor: promote hot-path GenServer state maps to structs 2026-04-21 10:26:20 -05:00