mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-04 10:44:30 +08:00
Use pubsub local broadcast instead of direct broadcast to self
This commit is contained in:
parent
2c288b8508
commit
71ce29d03f
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ defmodule Livebook.Apps.Manager do
|
|||
end
|
||||
|
||||
defp local_broadcast(message) do
|
||||
Phoenix.PubSub.direct_broadcast!(node(), Livebook.PubSub, "apps_manager", message)
|
||||
Phoenix.PubSub.local_broadcast(Livebook.PubSub, "apps_manager", message)
|
||||
end
|
||||
|
||||
defp app_definitely_down?(slug) do
|
||||
|
|
Loading…
Add table
Reference in a new issue