From d0c4e1882b099e4a1db2cd023e36dfdc14cd8144 Mon Sep 17 00:00:00 2001 From: Alexandre de Souza Date: Mon, 9 Oct 2023 15:02:02 -0300 Subject: [PATCH] Reduce the sleeping time --- lib/livebook/hubs.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/livebook/hubs.ex b/lib/livebook/hubs.ex index d889f64d649a..4ab4ed7c6f15 100644 --- a/lib/livebook/hubs.ex +++ b/lib/livebook/hubs.ex @@ -129,7 +129,7 @@ defmodule Livebook.Hubs do defp disconnect_hub(hub) do Task.Supervisor.start_child(Livebook.TaskSupervisor, fn -> - Process.sleep(30_000) + Process.sleep(10_000) :ok = Provider.disconnect(hub) end)