- get_cluster_aprs_status: fetch_cluster_status/1 dispatches on the clustering flag — true fans out cluster-wide, false goes straight to the local Aprsme.Is status. - init/1: extract schedule_initial_election/1 with true/false heads. The clustered branch sets up the check-and-backstop timers; the non-clustered branch queues an immediate election. Makes the two startup paths obvious from the function signatures. No behavior change; all 17 LeaderElection tests still pass. |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| mix/tasks | ||
| aprs_web.ex | ||
| aprsme.ex | ||