Skip to content

Commit

Permalink
Adjusting text message and maximum number of messages
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoesteves committed Dec 3, 2024
1 parent 8237154 commit 1f336fc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/deployex_web/live/tracing/index.ex
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ defmodule DeployexWeb.TracingLive do
</div>
<div class="ml-2 mr-2 mt-2 mb-2 text-xs">
Incorrect use of the <b>:dbg</b>
tracer in production can lead to performance degradation,
and long-running traces may introduce latency. <b>DeployEx Live tracing</b>
tracer in production can lead to performance degradation, latency and crashes.
<b>DeployEx Live tracing</b>
enforces limits on the maximum number of messages and applies a timeout (in seconds)
to ensure the debugger doesn't remain active unintentionally. Check out the
<a
Expand Down Expand Up @@ -480,8 +480,6 @@ defmodule DeployexWeb.TracingLive do
end

def handle_info({:new_trace_message, _session_id, node, index, type, message}, socket) do
# Logger.debug("Message: #{node} - [#{index}] :: #{message}")

data = %{
service: node,
id: Deployex.Common.uuid4(),
Expand All @@ -502,7 +500,7 @@ defmodule DeployexWeb.TracingLive do
end

defp default_form_options do
%{"max_messages" => "10", "session_timeout_seconds" => "30"}
%{"max_messages" => "3", "session_timeout_seconds" => "30"}
end

defp node_info_new do
Expand Down

0 comments on commit 1f336fc

Please sign in to comment.