From 39fedd43ca8c4b41b9d6592c9a534e003f0b5971 Mon Sep 17 00:00:00 2001 From: Benjamin Philip Date: Fri, 24 Dec 2021 23:35:19 +0530 Subject: [PATCH] Disable Ecto stats in Phoenix Live Dashboard (#824) Livebook does not use Ecto, so disable Ecto stats. --- lib/livebook_web/router.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/livebook_web/router.ex b/lib/livebook_web/router.ex index 3b8e758a2..df20a134f 100644 --- a/lib/livebook_web/router.ex +++ b/lib/livebook_web/router.ex @@ -73,7 +73,8 @@ defmodule LivebookWeb.Router do live_dashboard "/dashboard", metrics: LivebookWeb.Telemetry, - home_app: {"Livebook", :livebook} + home_app: {"Livebook", :livebook}, + ecto_repos: [] end # Public URLs without authentication