diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-06-03 19:03:41 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-06-03 19:03:41 +0200 |
commit | 2449be0cebe4179b00c1bfaf909ee94fbe9b0180 (patch) | |
tree | 37a69ba2a778a7c0797036d7388c1fda902bbb13 /lib/pleroma/telemetry/logger.ex | |
parent | 6f2b5acc39112459c45d326bd3cd7cf6f19f5220 (diff) | |
download | pleroma-bugfix/erlang-24-format.tar.gz |
mix format on OTP 24 + Elixir 1.12.1bugfix/erlang-24-format
Diffstat (limited to 'lib/pleroma/telemetry/logger.ex')
-rw-r--r-- | lib/pleroma/telemetry/logger.ex | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/pleroma/telemetry/logger.ex b/lib/pleroma/telemetry/logger.ex index 44d2f48dc..10165c1b2 100644 --- a/lib/pleroma/telemetry/logger.ex +++ b/lib/pleroma/telemetry/logger.ex @@ -29,9 +29,7 @@ defmodule Pleroma.Telemetry.Logger do _ ) do Logger.debug(fn -> - "Connection pool is exhausted (reached #{max_connections} connections). Starting idle connection cleanup to reclaim as much as #{ - reclaim_max - } connections" + "Connection pool is exhausted (reached #{max_connections} connections). Starting idle connection cleanup to reclaim as much as #{reclaim_max} connections" end) end @@ -73,9 +71,7 @@ defmodule Pleroma.Telemetry.Logger do _ ) do Logger.warn(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 |