mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-24 04:15:57 +08:00
Don't handle hub_changed
events
This commit is contained in:
parent
f59d2f3e1d
commit
e5e470c76e
1 changed files with 1 additions and 5 deletions
|
@ -27,7 +27,7 @@ defmodule Livebook.FileSystem.Mounter do
|
|||
|
||||
@impl GenServer
|
||||
def handle_continue(:boot, state) do
|
||||
Hubs.Broadcasts.subscribe([:connection, :crud, :file_systems])
|
||||
Hubs.Broadcasts.subscribe([:crud, :file_systems])
|
||||
Process.send_after(self(), :remount, state.loop_delay)
|
||||
|
||||
{:noreply, mount_file_systems(state, Hubs.Personal.id())}
|
||||
|
@ -50,10 +50,6 @@ defmodule Livebook.FileSystem.Mounter do
|
|||
{:noreply, unmount_file_system(state, file_system)}
|
||||
end
|
||||
|
||||
def handle_info({:hub_changed, hub_id}, state) do
|
||||
{:noreply, mount_file_systems(state, hub_id)}
|
||||
end
|
||||
|
||||
def handle_info({:hub_deleted, hub_id}, state) do
|
||||
{:noreply, unmount_file_systems(state, hub_id)}
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue