Change Gun connection pool logs to debug
This commit is contained in:
parent
394cb1e0f5
commit
9e5adf31c0
0
changelog.d/gun-logs-debug.skip
Normal file
0
changelog.d/gun-logs-debug.skip
Normal file
@ -39,7 +39,7 @@ defmodule Pleroma.Telemetry.Logger do
|
|||||||
_,
|
_,
|
||||||
_
|
_
|
||||||
) do
|
) do
|
||||||
Logger.error(fn ->
|
Logger.debug(fn ->
|
||||||
"Connection pool failed to reclaim any connections due to all of them being in use. It will have to drop requests for opening connections to new hosts"
|
"Connection pool failed to reclaim any connections due to all of them being in use. It will have to drop requests for opening connections to new hosts"
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
@ -70,7 +70,7 @@ defmodule Pleroma.Telemetry.Logger do
|
|||||||
%{key: key},
|
%{key: key},
|
||||||
_
|
_
|
||||||
) do
|
) do
|
||||||
Logger.warning(fn ->
|
Logger.debug(fn ->
|
||||||
"Pool worker for #{key}: Client #{inspect(client_pid)} died before releasing the connection with #{inspect(reason)}"
|
"Pool worker for #{key}: Client #{inspect(client_pid)} died before releasing the connection with #{inspect(reason)}"
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user