Skip to content

Commit

Permalink
🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
abc3 committed Jan 8, 2025
1 parent 78deb37 commit 6adcc99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/supavisor/client_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ defmodule Supavisor.ClientHandler do
db_pid = db_checkout(:both, :on_connect, data)
data = %{data | manager: manager_ref, db_pid: db_pid, idle_timeout: opts.idle_timeout}

Registry.register(@clients_registry, id, [])
Registry.register(@clients_registry, data.id, [])

next =
if opts.ps == [],
Expand Down Expand Up @@ -437,7 +437,7 @@ defmodule Supavisor.ClientHandler do
})

Logger.metadata(proxy: true)
Registry.register(@proxy_clients_registry, id, [])
Registry.register(@proxy_clients_registry, data.id, [])

{:keep_state, %{data | auth: auth}, {:next_event, :internal, :connect_db}}

Expand Down

0 comments on commit 6adcc99

Please sign in to comment.