Skip to content

Commit

Permalink
chore: update poolboy to v0.0.3 and enhance error logging and (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
abc3 authored Oct 30, 2024
1 parent 664fc5c commit a6cb71f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/supavisor/client_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ defmodule Supavisor.ClientHandler do
{:next_event, :internal, event}}
else
reason = "Invalid format for user or db_name"
Logger.error("ClientHandler: #{inspect(reason)}")
Logger.error("ClientHandler: #{inspect(reason)} #{inspect({user, db_name})}")
Telem.client_join(:fail, tenant_or_alias)

HandlerHelpers.send_error(
Expand Down
2 changes: 0 additions & 2 deletions lib/supavisor/secret_checker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ defmodule Supavisor.SecretChecker do
end

def handle_info(:check, state) do
Logger.debug("Checking secrets")
check_secrets(state)
Logger.debug("Secrets checked")
{:noreply, %{state | check_ref: check()}}
end

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ defmodule Supavisor.MixProject do

# pooller
# {:poolboy, "~> 1.5.2"},
{:poolboy, git: "https://github.com/abc3/poolboy.git", tag: "v0.0.2"},
{:poolboy, git: "https://github.com/abc3/poolboy.git", tag: "v0.0.3"},
{:syn, "~> 3.3"},
{:pgo, "~> 0.13"},
{:rustler, "~> 0.34.0"},
Expand Down

0 comments on commit a6cb71f

Please sign in to comment.