diff --git a/lib/realtime/server.ex b/lib/realtime/server.ex index 91cc60add..3cde364c8 100644 --- a/lib/realtime/server.ex +++ b/lib/realtime/server.ex @@ -510,7 +510,7 @@ defmodule Realtime.Server do :alerts -> "realtime_alerts" end - Phoenix.PubSub.broadcast(pubsub_name(), topic, {:new_realtime_data, state.ets}) + Phoenix.PubSub.local_broadcast(pubsub_name(), topic, {:new_realtime_data, state.ets}) end @spec block_is_active?(VehicleOrGhost.t()) :: boolean