mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-12 23:23:52 +08:00
Mounter needs to susbcribe to hub connection events (#3073)
This commit is contained in:
parent
95cfe753f3
commit
bdb2b95a1d
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ defmodule Livebook.FileSystem.Mounter do
|
||||||
|
|
||||||
@impl GenServer
|
@impl GenServer
|
||||||
def handle_continue(:boot, state) do
|
def handle_continue(:boot, state) do
|
||||||
Hubs.Broadcasts.subscribe([:crud, :file_systems])
|
Hubs.Broadcasts.subscribe([:crud, :file_systems, :connection])
|
||||||
Process.send_after(self(), :remount, state.loop_delay)
|
Process.send_after(self(), :remount, state.loop_delay)
|
||||||
|
|
||||||
{:noreply, mount_file_systems(state, Hubs.Personal.id())}
|
{:noreply, mount_file_systems(state, Hubs.Personal.id())}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue