Mounter needs to susbcribe to hub connection events (#3073)

This commit is contained in:
Hugo Baraúna 2025-10-01 16:00:56 -03:00 committed by GitHub
parent 95cfe753f3
commit bdb2b95a1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ defmodule Livebook.FileSystem.Mounter do
@impl GenServer
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)
{:noreply, mount_file_systems(state, Hubs.Personal.id())}