restart without ecto
This commit is contained in:
@@ -7,7 +7,7 @@ defmodule CobblemonUiWeb.Endpoint do
|
||||
@session_options [
|
||||
store: :cookie,
|
||||
key: "_cobblemon_ui_key",
|
||||
signing_salt: "aWbGGE0a",
|
||||
signing_salt: "B3/M7bnw",
|
||||
same_site: "Lax"
|
||||
]
|
||||
|
||||
@@ -33,7 +33,6 @@ defmodule CobblemonUiWeb.Endpoint do
|
||||
socket "/phoenix/live_reload/socket", Phoenix.LiveReloader.Socket
|
||||
plug Phoenix.LiveReloader
|
||||
plug Phoenix.CodeReloader
|
||||
plug Phoenix.Ecto.CheckRepoStatus, otp_app: :cobblemon_ui
|
||||
end
|
||||
|
||||
plug Phoenix.LiveDashboard.RequestLogger,
|
||||
|
||||
@@ -38,7 +38,6 @@ defmodule CobblemonUiWeb.Router do
|
||||
pipe_through :browser
|
||||
|
||||
live_dashboard "/dashboard", metrics: CobblemonUiWeb.Telemetry
|
||||
forward "/mailbox", Plug.Swoosh.MailboxPreview
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -52,29 +52,6 @@ defmodule CobblemonUiWeb.Telemetry do
|
||||
unit: {:native, :millisecond}
|
||||
),
|
||||
|
||||
# Database Metrics
|
||||
summary("cobblemon_ui.repo.query.total_time",
|
||||
unit: {:native, :millisecond},
|
||||
description: "The sum of the other measurements"
|
||||
),
|
||||
summary("cobblemon_ui.repo.query.decode_time",
|
||||
unit: {:native, :millisecond},
|
||||
description: "The time spent decoding the data received from the database"
|
||||
),
|
||||
summary("cobblemon_ui.repo.query.query_time",
|
||||
unit: {:native, :millisecond},
|
||||
description: "The time spent executing the query"
|
||||
),
|
||||
summary("cobblemon_ui.repo.query.queue_time",
|
||||
unit: {:native, :millisecond},
|
||||
description: "The time spent waiting for a database connection"
|
||||
),
|
||||
summary("cobblemon_ui.repo.query.idle_time",
|
||||
unit: {:native, :millisecond},
|
||||
description:
|
||||
"The time the connection spent waiting before being checked out for the query"
|
||||
),
|
||||
|
||||
# VM Metrics
|
||||
summary("vm.memory.total", unit: {:byte, :kilobyte}),
|
||||
summary("vm.total_run_queue_lengths.total"),
|
||||
|
||||
Reference in New Issue
Block a user