Change some Gun connection pool logs to debug level
This commit is contained in:
parent
79d69ce72a
commit
9a4c8e2316
|
@ -59,7 +59,7 @@ def handle_event(
|
||||||
_,
|
_,
|
||||||
_
|
_
|
||||||
) do
|
) do
|
||||||
Logger.error(fn ->
|
Logger.debug(fn ->
|
||||||
"Connection pool had to refuse opening a connection to #{key} due to connection limit exhaustion"
|
"Connection pool had to refuse opening a connection to #{key} due to connection limit exhaustion"
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
@ -81,7 +81,7 @@ def handle_event(
|
||||||
%{key: key, protocol: :http},
|
%{key: key, protocol: :http},
|
||||||
_
|
_
|
||||||
) do
|
) do
|
||||||
Logger.info(fn ->
|
Logger.debug(fn ->
|
||||||
"Pool worker for #{key}: #{length(clients)} clients are using an HTTP1 connection at the same time, head-of-line blocking might occur."
|
"Pool worker for #{key}: #{length(clients)} clients are using an HTTP1 connection at the same time, head-of-line blocking might occur."
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue