Switches the PubSub adapter to Phoenix.PubSub.Redis backed by the shared Valkey instance (same backend GridCache uses), via the new phoenix_pubsub_redis dep. Falls back to the default PG2 / Erlang- distribution adapter when VALKEY_URL is unset, so dev/test boot unchanged. Decouples PubSub fan-out from libcluster's BEAM connection. A flapping Erlang distribution (the OOM-cascade scenario from 2026-05-03 surfaced this — libcluster warnings dominated the logs while pods CrashLoopBackOff'd) no longer takes broadcasts with it, so the rest of the cluster keeps publishing while the bad pod recovers. node_name uses POD_IP for cluster-wide uniqueness, falling back to Erlang's node() name in non-K8s environments. Required by the Redis adapter so loopback filtering doesn't drop a pod's own broadcasts as if they came from a peer. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||