diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-10-06 08:08:21 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-10-06 08:11:05 +0200 |
commit | a17910a6c6dca88d98218bf9782b05b70b69446f (patch) | |
tree | 412d2f7acd3789b72d388cbfefca6a96041c139b /lib/pleroma/telemetry/logger.ex | |
parent | bdaa7e53940daa43b83e3baab836b701482e6d8f (diff) | |
download | pleroma-a17910a6c6dca88d98218bf9782b05b70b69446f.tar.gz |
CI: Bump lint stage to elixir-1.12
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix 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 |